Class TextFilePropertyStoreFactory
The factory for the TextFilePropertyStore
Inherited Members
Namespace:FubarDev.WebDavServer.Props.Store.TextFile
Assembly:FubarDev.WebDavServer.Props.Store.TextFile.dll
Syntax
public class TextFilePropertyStoreFactory : IPropertyStoreFactory
Constructors
| Improve this Doc View SourceTextFilePropertyStoreFactory(IOptions<TextFilePropertyStoreOptions>, IDeadPropertyFactory, IWebDavContext, ILogger<TextFilePropertyStore>)
Initializes a new instance of the TextFilePropertyStoreFactory class.
Declaration
public TextFilePropertyStoreFactory(IOptions<TextFilePropertyStoreOptions> options, [NotNull] IDeadPropertyFactory deadPropertyFactory, [NotNull] IWebDavContext webDavContext, [NotNull] ILogger<TextFilePropertyStore> logger)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.Options.IOptions<TextFilePropertyStoreOptions> | options | The options for the text file property store |
IDeadPropertyFactory | deadPropertyFactory | The factory for the dead properties |
IWebDavContext | webDavContext | The WebDAV request context |
Microsoft.Extensions.Logging.ILogger<TextFilePropertyStore> | logger | The logger for the property store factory |
Methods
| Improve this Doc View SourceCreate(IFileSystem)
Creates/gets a property store for a file system
Declaration
public IPropertyStore Create(IFileSystem fileSystem)
Parameters
Type | Name | Description |
---|---|---|
IFileSystem | fileSystem | The file system to get/create the property store for |
Returns
Type | Description |
---|---|
IPropertyStore | The property store for the fileSystem |