C# Class CrossUI.Runner.WPF.FileWatcher

Inheritance: IDisposable
Show file Open project: pragmatrix/CrossUI Class Usage Examples

Public Properties

Property Type Description
Changed System.Action
Error Action

Public Methods

Method Description
Dispose ( ) : void
FileWatcher ( string directory, string filter ) : System
dispatchChanged ( ) : void
dispatcherError ( Exception e ) : void
onChanged ( object sender, FileSystemEventArgs e ) : void
onCreated ( object sender, FileSystemEventArgs e ) : void
onDeleted ( object sender, FileSystemEventArgs e ) : void
onError ( object sender, ErrorEventArgs e ) : void
onRenamed ( object sender, RenamedEventArgs e ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

FileWatcher() public method

public FileWatcher ( string directory, string filter ) : System
directory string
filter string
return System

dispatchChanged() public method

public dispatchChanged ( ) : void
return void

dispatcherError() public method

public dispatcherError ( Exception e ) : void
e System.Exception
return void

onChanged() public method

public onChanged ( object sender, FileSystemEventArgs e ) : void
sender object
e System.IO.FileSystemEventArgs
return void

onCreated() public method

public onCreated ( object sender, FileSystemEventArgs e ) : void
sender object
e System.IO.FileSystemEventArgs
return void

onDeleted() public method

public onDeleted ( object sender, FileSystemEventArgs e ) : void
sender object
e System.IO.FileSystemEventArgs
return void

onError() public method

public onError ( object sender, ErrorEventArgs e ) : void
sender object
e System.IO.ErrorEventArgs
return void

onRenamed() public method

public onRenamed ( object sender, RenamedEventArgs e ) : void
sender object
e System.IO.RenamedEventArgs
return void

Property Details

Changed public property

public Action,System Changed
return System.Action

Error public property

public Action Error
return Action