Class InMemoryFileSystemProvider
An implementation of an in-memory file system.
Implements
Inherited Members
Namespace: FubarDev.FtpServer.FileSystem.InMemory
Assembly: FubarDev.FtpServer.FileSystem.InMemory.dll
Syntax
public class InMemoryFileSystemProvider : IFileSystemClassFactory
Constructors
| Improve this Doc View SourceInMemoryFileSystemProvider(IOptions<InMemoryFileSystemOptions>, IAccountDirectoryQuery)
Initializes a new instance of the InMemoryFileSystemProvider class.
Declaration
public InMemoryFileSystemProvider(IOptions<InMemoryFileSystemOptions> options, IAccountDirectoryQuery accountDirectoryQuery)
Parameters
| Type | Name | Description |
|---|---|---|
| IOptions<InMemoryFileSystemOptions> | options | The provider options. |
| IAccountDirectoryQuery | accountDirectoryQuery | Interface to query account directories. |
Methods
| Improve this Doc View SourceCreate(IAccountInformation)
Declaration
public Task<IUnixFileSystem> Create(IAccountInformation accountInformation)
Parameters
| Type | Name | Description |
|---|---|---|
| IAccountInformation | accountInformation |
Returns
| Type | Description |
|---|---|
| Task<IUnixFileSystem> |