C# Class FSWatcher.Watcher

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

Public Methods

Method Description
Dispose ( ) : void
ErrorNotifier ( Exception>.Action notifier ) : void
ForceRefresh ( ) : void
StopWatching ( ) : void
Watch ( ) : void
Watcher ( string dir, Action directoryCreated, Action directoryDeleted, Action fileCreated, Action fileChanged, Action fileDeleted ) : System

Private Methods

Method Description
clearCatchup ( ) : void
initialize ( ) : void
poll ( ) : void
setNextCatchup ( ) : void
timeSince ( System.DateTime time ) : int
waitingToCatchUp ( ) : bool
weNeedToCatchUp ( ) : bool

Method Details

Dispose() public method

public Dispose ( ) : void
return void

ErrorNotifier() public method

public ErrorNotifier ( Exception>.Action notifier ) : void
notifier Exception>.Action
return void

ForceRefresh() public method

public ForceRefresh ( ) : void
return void

StopWatching() public method

public StopWatching ( ) : void
return void

Watch() public method

public Watch ( ) : void
return void

Watcher() public method

public Watcher ( string dir, Action directoryCreated, Action directoryDeleted, Action fileCreated, Action fileChanged, Action fileDeleted ) : System
dir string
directoryCreated Action
directoryDeleted Action
fileCreated Action
fileChanged Action
fileDeleted Action
return System