C# 클래스 MvbaCore.FileSystem.FileWatcher

파일 보기 프로젝트 열기: mvbalaw/MvbaCore

공개 메소드들

메소드 설명
FileWatcher ( string sourceDir, IFileSystemService fileSystemService ) : System
LoadFiles ( ) : void
ProcessFile ( FileWrapper fileWrapper ) : void
Start ( ) : void
Stop ( ) : void

비공개 메소드들

메소드 설명
EnsureDirectoryExists ( [ name, [ path ) : void
HandleError ( FileWrapper fileWrapper, string reason, Exception exception = null ) : void
LoadFile ( ICollection files, FileSystemInfo file ) : void
MoveFileToErrorDirectory ( string file ) : void
OnFileCreated ( object sender, FileSystemEventArgs e ) : void
WatchForFiles ( ) : void

메소드 상세

FileWatcher() 공개 메소드

public FileWatcher ( string sourceDir, IFileSystemService fileSystemService ) : System
sourceDir string
fileSystemService IFileSystemService
리턴 System

LoadFiles() 공개 메소드

public LoadFiles ( ) : void
리턴 void

ProcessFile() 공개 메소드

public ProcessFile ( FileWrapper fileWrapper ) : void
fileWrapper FileWrapper
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void