C# Class StoryTeller.Files.FileChangeWatcher

Inheritance: IDisposable
Exibir arquivo Open project: storyteller/Storyteller Class Usage Examples

Public Properties

Property Type Description
ChangeBuffer int

Public Methods

Method Description
Dispose ( ) : void
FileChangeWatcher ( string root, FileSet fileSet, IChangeSetHandler handler ) : System
Latch ( System.Action action ) : void
Start ( ) : void
Stop ( ) : void

Private Methods

Method Description
execute ( object state ) : void
findFiles ( ) : IFileReference[]
processChanges ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

FileChangeWatcher() public method

public FileChangeWatcher ( string root, FileSet fileSet, IChangeSetHandler handler ) : System
root string
fileSet Baseline.FileSet
handler IChangeSetHandler
return System

Latch() public method

public Latch ( System.Action action ) : void
action System.Action
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Property Details

ChangeBuffer public_oe property

Time in milliseconds that the polling watcher should wait for additional changes
public int ChangeBuffer
return int