Class CleanFolderServiceLifecycle
Represents the service lifecycle for cleaning a folder.
public class CleanFolderServiceLifecycle : IServiceLifecycle
- Inheritance
-
CleanFolderServiceLifecycle
- Implements
Constructors
- CleanFolderServiceLifecycle(IFileService)
Initializes a new instance of the CleanFolderServiceLifecycle class.
Properties
- FileService
Gets the file service used for cleaning the folder.
- StartOrder
Gets the start order of the service.
- StopOrder
Gets the stop order of the service.
Methods
- CanStop(CancellationToken)
Determines whether the service can be stopped.
- Start(CancellationToken)
Starts the service.
- Stop(CancellationToken)
Stops the service.