C# Class 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.
Inheritance: IFileSystem
Afficher le fichier Open project: toroso/fs4net

Méthodes publiques

Méthode Description
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.

Method Details

AllDrives() public méthode

public AllDrives ( ) : IEnumerable
Résultat IEnumerable

DirectoryDescribing() public méthode

public DirectoryDescribing ( string fullPath ) : RootedDirectory
fullPath string
Résultat RootedDirectory

DirectoryDescribingCurrentDirectory() public méthode

public DirectoryDescribingCurrentDirectory ( ) : RootedDirectory
Résultat RootedDirectory

DirectoryDescribingTemporaryDirectory() public méthode

public DirectoryDescribingTemporaryDirectory ( ) : RootedDirectory
Résultat RootedDirectory

DirectoryFromCurrentDirectory() public méthode

public DirectoryFromCurrentDirectory ( string path ) : RootedDirectory
path string
Résultat RootedDirectory

DriveDescribing() public méthode

public DriveDescribing ( string driveName ) : Drive
driveName string
Résultat Drive

FileDescribing() public méthode

public FileDescribing ( string fullPath ) : RootedFile
fullPath string
Résultat RootedFile

FileFromCurrentDirectory() public méthode

public FileFromCurrentDirectory ( string path ) : RootedFile
path string
Résultat RootedFile

FileSystem() public méthode

Instantiate a file system wrapper. The instance is created without a logger which means that all logged events are swallowed.
public FileSystem ( ) : System
Résultat System

FileSystem() public méthode

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.
Résultat System