C# 클래스 TerrificNet.ViewEngine.IO.FileSystem

상속: IFileSystem
파일 보기 프로젝트 열기: namics/TerrificNet 1 사용 예제들

공개 메소드들

메소드 설명
CreateDirectory ( PathInfo directory ) : void
DirectoryExists ( PathInfo directory ) : bool
DirectoryGetFiles ( PathInfo directory, string fileExtension ) : IEnumerable
FileExists ( PathInfo filePath ) : bool
FileSystem ( ) : System
FileSystem ( string basePath ) : System
GetFileInfo ( PathInfo filePath ) : IFileInfo
OpenRead ( PathInfo filePath ) : Stream
OpenReadOrCreate ( PathInfo filePath ) : Stream
OpenWrite ( PathInfo filePath ) : Stream
RemoveFile ( PathInfo filePath ) : void
SubscribeAsync ( string pattern, Action handler ) : Task
SubscribeDirectoryGetFilesAsync ( PathInfo prefix, string extension, Action handler ) : Task

비공개 메소드들

메소드 설명
GetRootPath ( PathInfo part ) : PathInfo
HandleFileSystemEvent ( FileSystemEventArgs a ) : void
Initialize ( ) : void
InitializeWatcher ( ) : void
NotifySubscriptions ( IFileInfo file ) : void
Unsubscribe ( LookupDirectoryFileSystemSubscription subscription ) : void
Unsubscribe ( LookupFileSystemSubscription subscription ) : void

메소드 상세

CreateDirectory() 공개 메소드

public CreateDirectory ( PathInfo directory ) : void
directory PathInfo
리턴 void

DirectoryExists() 공개 메소드

public DirectoryExists ( PathInfo directory ) : bool
directory PathInfo
리턴 bool

DirectoryGetFiles() 공개 메소드

public DirectoryGetFiles ( PathInfo directory, string fileExtension ) : IEnumerable
directory PathInfo
fileExtension string
리턴 IEnumerable

FileExists() 공개 메소드

public FileExists ( PathInfo filePath ) : bool
filePath PathInfo
리턴 bool

FileSystem() 공개 메소드

public FileSystem ( ) : System
리턴 System

FileSystem() 공개 메소드

public FileSystem ( string basePath ) : System
basePath string
리턴 System

GetFileInfo() 공개 메소드

public GetFileInfo ( PathInfo filePath ) : IFileInfo
filePath PathInfo
리턴 IFileInfo

OpenRead() 공개 메소드

public OpenRead ( PathInfo filePath ) : Stream
filePath PathInfo
리턴 Stream

OpenReadOrCreate() 공개 메소드

public OpenReadOrCreate ( PathInfo filePath ) : Stream
filePath PathInfo
리턴 Stream

OpenWrite() 공개 메소드

public OpenWrite ( PathInfo filePath ) : Stream
filePath PathInfo
리턴 Stream

RemoveFile() 공개 메소드

public RemoveFile ( PathInfo filePath ) : void
filePath PathInfo
리턴 void

SubscribeAsync() 공개 메소드

public SubscribeAsync ( string pattern, Action handler ) : Task
pattern string
handler Action
리턴 Task

SubscribeDirectoryGetFilesAsync() 공개 메소드

public SubscribeDirectoryGetFilesAsync ( PathInfo prefix, string extension, Action handler ) : Task
prefix PathInfo
extension string
handler Action
리턴 Task