Constructor FileRepoCleaner
FileRepoCleaner(FileRepoCleaningOptions)
Initializes a new instance of the FileRepoCleaner class with the specified options.
Declaration
public FileRepoCleaner(FileRepoCleaningOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| FileRepoCleaningOptions | options |
FileRepoCleaner(IOptions<FileRepoCleaningOptions>)
Initializes a new instance of the FileRepoCleaner class with the specified options.
Declaration
public FileRepoCleaner(IOptions<FileRepoCleaningOptions> options)
Parameters
| Type | Name | Description |
|---|---|---|
| IOptions<FileRepoCleaningOptions> | options |
FileRepoCleaner(IAbsoluteDirectoryPath, Action<FileRepoCleaningOptions>?)
Initializes a new instance of the FileRepoCleaner class with the specified base directory and optional configuration action.
Declaration
public FileRepoCleaner(IAbsoluteDirectoryPath baseDirectory, Action<FileRepoCleaningOptions>? configure = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IAbsoluteDirectoryPath | baseDirectory | The base directory of the file repository to be cleaned. |
| Action<FileRepoCleaningOptions> | configure | An optional action that configures additional options. |