C# 클래스 NLog.Internal.MultiFileWatcher

Watches multiple files at the same time and raises an event whenever a single change is detected in any of those files.
상속: IDisposable
파일 보기 프로젝트 열기: NLog/NLog 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

MultiFileWatcher ( ) : System
MultiFileWatcher ( NotifyFilters notifyFilters ) : System
StopWatching ( ) : void

Stops watching all files.

StopWatching ( string fileName ) : void

Stops watching the specified file.

Watch ( IEnumerable fileNames ) : void

Watches the specified files for changes.

보호된 메소드들

메소드 설명
OnFileChanged ( FileSystemEventArgs e ) : void

비공개 메소드들

메소드 설명
StopWatching ( FileSystemWatcher watcher ) : void
Watch ( string fileName ) : void

메소드 상세

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

MultiFileWatcher() 공개 메소드

public MultiFileWatcher ( ) : System
리턴 System

MultiFileWatcher() 공개 메소드

public MultiFileWatcher ( NotifyFilters notifyFilters ) : System
notifyFilters NotifyFilters
리턴 System

OnFileChanged() 보호된 메소드

protected OnFileChanged ( FileSystemEventArgs e ) : void
e System.IO.FileSystemEventArgs
리턴 void

StopWatching() 공개 메소드

Stops watching all files.
public StopWatching ( ) : void
리턴 void

StopWatching() 공개 메소드

Stops watching the specified file.
public StopWatching ( string fileName ) : void
fileName string
리턴 void

Watch() 공개 메소드

Watches the specified files for changes.
public Watch ( IEnumerable fileNames ) : void
fileNames IEnumerable The file names.
리턴 void