C# Класс FubarDev.FtpServer.FileSystem.DotNet.DotNetFileSystemProvider

A IFileSystemClassFactory implementation that uses the standard .NET functionality to provide file system access.
Наследование: IFileSystemClassFactory
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Create ( string userId, bool isAnonymous ) : Task
DotNetFileSystemProvider ( [ rootPath ) : System.IO

Initializes a new instance of the DotNetFileSystemProvider class.

DotNetFileSystemProvider ( [ rootPath, bool useUserIdAsSubFolder ) : System.IO

Initializes a new instance of the DotNetFileSystemProvider class.

DotNetFileSystemProvider ( [ rootPath, bool useUserIdAsSubFolder, int streamBufferSize ) : System.IO

Initializes a new instance of the DotNetFileSystemProvider class.

Описание методов

Create() публичный Метод

public Create ( string userId, bool isAnonymous ) : Task
userId string
isAnonymous bool
Результат Task

DotNetFileSystemProvider() публичный Метод

Initializes a new instance of the DotNetFileSystemProvider class.
public DotNetFileSystemProvider ( [ rootPath ) : System.IO
rootPath [ The root path for all users
Результат System.IO

DotNetFileSystemProvider() публичный Метод

Initializes a new instance of the DotNetFileSystemProvider class.
public DotNetFileSystemProvider ( [ rootPath, bool useUserIdAsSubFolder ) : System.IO
rootPath [ The root path for all users
useUserIdAsSubFolder bool Use the user id as subfolder?
Результат System.IO

DotNetFileSystemProvider() публичный Метод

Initializes a new instance of the DotNetFileSystemProvider class.
public DotNetFileSystemProvider ( [ rootPath, bool useUserIdAsSubFolder, int streamBufferSize ) : System.IO
rootPath [ The root path for all users
useUserIdAsSubFolder bool Use the user id as subfolder?
streamBufferSize int Buffer size to be used in async IO methods
Результат System.IO