C# Класс fs4net.Framework.FileSystem

A wrapper around the real file system. All file operations done file file descriptors created from this class will be done on the real file system.
Наследование: IFileSystem
Показать файл Открыть проект

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

Метод Описание
AllDrives ( ) : IEnumerable
DirectoryDescribing ( string fullPath ) : RootedDirectory
DirectoryDescribingCurrentDirectory ( ) : RootedDirectory
DirectoryDescribingTemporaryDirectory ( ) : RootedDirectory
DirectoryFromCurrentDirectory ( string path ) : RootedDirectory
DriveDescribing ( string driveName ) : Drive
FileDescribing ( string fullPath ) : RootedFile
FileFromCurrentDirectory ( string path ) : RootedFile
FileSystem ( ) : System

Instantiate a file system wrapper. The instance is created without a logger which means that all logged events are swallowed.

FileSystem ( ILogger logger ) : System

Instantiate a file system wrapper. The instance is created with a logger where logged events are reported.

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

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

public AllDrives ( ) : IEnumerable
Результат IEnumerable

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

public DirectoryDescribing ( string fullPath ) : RootedDirectory
fullPath string
Результат RootedDirectory

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

public DirectoryDescribingCurrentDirectory ( ) : RootedDirectory
Результат RootedDirectory

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

public DirectoryDescribingTemporaryDirectory ( ) : RootedDirectory
Результат RootedDirectory

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

public DirectoryFromCurrentDirectory ( string path ) : RootedDirectory
path string
Результат RootedDirectory

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

public DriveDescribing ( string driveName ) : Drive
driveName string
Результат Drive

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

public FileDescribing ( string fullPath ) : RootedFile
fullPath string
Результат RootedFile

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

public FileFromCurrentDirectory ( string path ) : RootedFile
path string
Результат RootedFile

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

Instantiate a file system wrapper. The instance is created without a logger which means that all logged events are swallowed.
public FileSystem ( ) : System
Результат System

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

Instantiate a file system wrapper. The instance is created with a logger where logged events are reported.
public FileSystem ( ILogger logger ) : System
logger ILogger Anything worth reporting inside the fs4net classes are sent to this logger instance.
Результат System