C# Class WebApplications.Utilities.Configuration.ConfigurationFileWatcher

Watches for changes to the configuration file for the application.
Inheritance: IDisposable
ファイルを表示 Open project: webappsuk/CoreLibraries Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Disposes this instance.

ToString ( ) : string
UnWatch ( [ section ) : void

Removes any watch on the specified section.

Watch ( [ section ) : void

Watches the specified section.

Private Methods

Method Description
ConfigurationFileWatcher ( [ path ) : System

Initializes a new instance of the ConfigurationFileWatcher class.

WatcherOnChanged ( object arguments ) : void

Fired when a watcher is changed.

Method Details

Dispose() public method

Disposes this instance.
public Dispose ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

UnWatch() public static method

Removes any watch on the specified section.
public static UnWatch ( [ section ) : void
section [ The section.
return void

Watch() public static method

Watches the specified section.
public static Watch ( [ section ) : void
section [ The section.
return void