C# 클래스 Aqueduct.Common.FileWatcher

파일 보기 프로젝트 열기: aqueduct/Aqueduct.SitecoreLib

공개 메소드들

메소드 설명
FileWatcher ( string watchedFolder ) : System

Initializes a new instance of the FileWatcher class.

FileWatcher ( string watchedFolder, string filter ) : System

Initializes a new instance of the FileWatcher class.

FileWatcher ( string watchedFolder, string filter, NotifyFilters notifyFilter, System.TimeSpan eventTriggerInterval, System.TimeSpan delayNotificationBy ) : System

Initializes a new instance of the FileWatcher class.

OnChanged ( FileSystemEventArgs ea ) : void

Triggers the Changed event.

OnCreated ( FileSystemEventArgs ea ) : void

Triggers the Created event.

OnDeleted ( FileSystemEventArgs ea ) : void

Triggers the Deleted event.

OnRenamed ( FileSystemEventArgs ea ) : void

Triggers the Renamed event.

Start ( ) : void
Stop ( ) : void

비공개 메소드들

메소드 설명
ConfigureWatcher ( ) : void
GetAllFilters ( ) : NotifyFilters
LastEventNotTriggeredWithinInterval ( System.DateTime now, System.DateTime lastTriggeredOn ) : bool

메소드 상세

FileWatcher() 공개 메소드

Initializes a new instance of the FileWatcher class.
public FileWatcher ( string watchedFolder ) : System
watchedFolder string
리턴 System

FileWatcher() 공개 메소드

Initializes a new instance of the FileWatcher class.
public FileWatcher ( string watchedFolder, string filter ) : System
watchedFolder string
filter string
리턴 System

FileWatcher() 공개 메소드

Initializes a new instance of the FileWatcher class.
public FileWatcher ( string watchedFolder, string filter, NotifyFilters notifyFilter, System.TimeSpan eventTriggerInterval, System.TimeSpan delayNotificationBy ) : System
watchedFolder string
filter string
notifyFilter NotifyFilters
eventTriggerInterval System.TimeSpan
delayNotificationBy System.TimeSpan
리턴 System

OnChanged() 공개 메소드

Triggers the Changed event.
public OnChanged ( FileSystemEventArgs ea ) : void
ea System.IO.FileSystemEventArgs
리턴 void

OnCreated() 공개 메소드

Triggers the Created event.
public OnCreated ( FileSystemEventArgs ea ) : void
ea System.IO.FileSystemEventArgs
리턴 void

OnDeleted() 공개 메소드

Triggers the Deleted event.
public OnDeleted ( FileSystemEventArgs ea ) : void
ea System.IO.FileSystemEventArgs
리턴 void

OnRenamed() 공개 메소드

Triggers the Renamed event.
public OnRenamed ( FileSystemEventArgs ea ) : void
ea System.IO.FileSystemEventArgs
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void