C# Class Velvet.HostsWatcher

Inheritance: IDisposable, IHostsWatcher
Datei anzeigen Open project: trullock/Velvet

Public Methods

Method Description
Dispose ( ) : void
HostsWatcher ( IHostsParser parser, string path ) : System
HostsWatcher ( string path ) : System
RefreshFile ( ) : void

Private Methods

Method Description
LoadMappings ( string path ) : void
ReadFile ( string path ) : string
WatcherChanged ( object sender, FileSystemEventArgs e ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

HostsWatcher() public method

public HostsWatcher ( IHostsParser parser, string path ) : System
parser IHostsParser
path string
return System

HostsWatcher() public method

public HostsWatcher ( string path ) : System
path string
return System

RefreshFile() public method

public RefreshFile ( ) : void
return void