C# Class CClash.DirectoryWatcher

Inheritance: IDisposable
Show file Open project: artillery/cclash Class Usage Examples

Public Methods

Method Description
DirectoryWatcher ( string folder ) : System
Dispose ( ) : void
Enable ( ) : void
UnWatch ( string file ) : void
Watch ( string file ) : void

Private Methods

Method Description
OnChange ( string file ) : void

Method Details

DirectoryWatcher() public method

public DirectoryWatcher ( string folder ) : System
folder string
return System

Dispose() public method

public Dispose ( ) : void
return void

Enable() public method

public Enable ( ) : void
return void

UnWatch() public method

public UnWatch ( string file ) : void
file string
return void

Watch() public method

public Watch ( string file ) : void
file string
return void