C# Class FSWatcher.EventedWatchers.FSW

显示文件 Open project: acken/FSWatcher Class Usage Examples

Public Methods

Method Description
FSW ( string watchPath, Action directoryCreated, Action directoryDeleted, Action fileCreated, Action fileChanged, Action fileDeleted, Action onError, Cache cache ) : System
Start ( ) : void
Stop ( ) : void

Private Methods

Method Description
WatcherChangeHandler ( object sender, FileSystemEventArgs e ) : void
WatcherErrorHandler ( object sender, ErrorEventArgs e ) : void
WatcherRenamedHandler ( object sender, RenamedEventArgs e ) : void
startListener ( ) : void

Method Details

FSW() public method

public FSW ( string watchPath, Action directoryCreated, Action directoryDeleted, Action fileCreated, Action fileChanged, Action fileDeleted, Action onError, Cache cache ) : System
watchPath string
directoryCreated Action
directoryDeleted Action
fileCreated Action
fileChanged Action
fileDeleted Action
onError Action
cache Cache
return System

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void