C# Class Squared.Task.IO.DiskMonitor

Inheritance: IDisposable
Exibir arquivo Open project: sq/Fracture Class Usage Examples

Public Methods

Method Description
DiskMonitor ( IEnumerable folders, IEnumerable filters, IEnumerable exclusions ) : System
Dispose ( ) : void
GetChangedFiles ( ) : IEnumerable
GetDeletedFiles ( ) : IEnumerable

Private Methods

Method Description
BufferOverflowed ( object sender, ErrorEventArgs e ) : void
CreateWatcher ( string folder ) : FileSystemWatcher
file_Changed ( object sender, FileSystemEventArgs e ) : void
file_Deleted ( object sender, FileSystemEventArgs e ) : void
file_Renamed ( object sender, RenamedEventArgs e ) : void

Method Details

DiskMonitor() public method

public DiskMonitor ( IEnumerable folders, IEnumerable filters, IEnumerable exclusions ) : System
folders IEnumerable
filters IEnumerable
exclusions IEnumerable
return System

Dispose() public method

public Dispose ( ) : void
return void

GetChangedFiles() public method

public GetChangedFiles ( ) : IEnumerable
return IEnumerable

GetDeletedFiles() public method

public GetDeletedFiles ( ) : IEnumerable
return IEnumerable