Method | Description | |
---|---|---|
FileMonitor ( string filePath ) : System |
Parameterize FileSystemWatcher
|
|
Start ( ) : void |
Start Watching the file
|
|
Stop ( ) : void |
Stop watching the file
|
|
Update ( string filePath ) : void |
Update the fileName to watch for changes
|
Method | Description | |
---|---|---|
FindReadyPaths ( DateTime>.Dictionary |
Return list of files which haven't received an change event for TIME_WITOUT_EVENT_MS.
|
|
FireEvent ( string path ) : void | ||
OnChange ( object sender, |
OnChange Event from System FileSystemWatcher after file has changed. It enters all events with the last event time in the pending event list.
|
|
OnFileError ( object o, |
Handle error from FileSystemWatcher
|
|
OnTimeout ( object state ) : void |
Timeout
|
public FileMonitor ( string filePath ) : System | ||
filePath | string | |
return | System |