Class FileRepoServiceCollectionExtensions
Extension methods for registering a FileRepo or a FileRepoCleaner in an IServiceCollection.
Namespace: FulcrumFS
Assembly: FulcrumFS.Local.dll
Syntax
public static class FileRepoServiceCollectionExtensions
Methods
| Name | Description |
|---|---|
| AddFileRepo(IServiceCollection, Action<FileRepoOptions>?) | Registers a FileRepo as a singleton, created from the FileRepoOptions of the options system, and as the IFileRepo and IFileRepoCleaner of the application. |
| AddFileRepoCleaner(IServiceCollection, Action<FileRepoCleaningOptions>?) | Registers a FileRepoCleaner as a singleton, created from the FileRepoCleaningOptions of the options system, and as the IFileRepoCleaner of the application. |