C# Class Composite.Data.Plugins.DataProvider.Streams.FileChangeNotificator

Show file Open project: Orckestra/C1-CMS Class Usage Examples

Public Methods

Method Description
Subscribe ( Composite.Data.Plugins.DataProvider.Streams.FileSystemFileBase file, OnFileChangedDelegate handler ) : void
Subscribe ( string filePath, OnFileChangedDelegate handler ) : void

Private Methods

Method Description
ClearDeadReferences ( ) : void
EnsureInitialization ( ) : void
FileWatcher_Changed ( object sender, FileSystemEventArgs e ) : void
FileWatcher_Deleted ( object sender, FileSystemEventArgs e ) : void
FireFileChangedEvent ( string filePath, FileChangeType changeType ) : void

Method Details

Subscribe() public static method

public static Subscribe ( Composite.Data.Plugins.DataProvider.Streams.FileSystemFileBase file, OnFileChangedDelegate handler ) : void
file Composite.Data.Plugins.DataProvider.Streams.FileSystemFileBase
handler OnFileChangedDelegate
return void

Subscribe() public static method

public static Subscribe ( string filePath, OnFileChangedDelegate handler ) : void
filePath string
handler OnFileChangedDelegate
return void