Class DotNetFileSystemProvider
A IFileSystemClassFactory implementation that uses the standard .NET functionality to provide file system access.
Implements
Inherited Members
Namespace: FubarDev.FtpServer.FileSystem.DotNet
Assembly: FubarDev.FtpServer.FileSystem.DotNet.dll
Syntax
public class DotNetFileSystemProvider : IFileSystemClassFactory
Constructors
| Improve this Doc View SourceDotNetFileSystemProvider(IOptions<DotNetFileSystemOptions>, IAccountDirectoryQuery, Nullable<ILogger<DotNetFileSystemProvider>>)
Initializes a new instance of the DotNetFileSystemProvider class.
Declaration
public DotNetFileSystemProvider(IOptions<DotNetFileSystemOptions> options, IAccountDirectoryQuery accountDirectoryQuery, ILogger<DotNetFileSystemProvider>? logger = default(ILogger<DotNetFileSystemProvider>? ))
Parameters
| Type | Name | Description |
|---|---|---|
| IOptions<DotNetFileSystemOptions> | options | The file system options. |
| IAccountDirectoryQuery | accountDirectoryQuery | Interface to query account directories. |
| Nullable<ILogger<DotNetFileSystemProvider>> | logger | The logger. |
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> |