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
파일 보기 프로젝트 열기: toroso/fs4net

공개 메소드들

메소드 설명
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