C# Class NRack.Server.ConfigurationWatcher

The configuration file watcher, it is used for hot configuration updating
Mostra file Open project: kerryjiang/NRack Class Usage Examples

Public Methods

Method Description
Watch ( ConfigurationSection configSection, IBootstrap bootstrap ) : void

Watches the specified configuration section.

Private Methods

Method Description
NeedsLoadConfig ( string filePath ) : bool
OnConfigFileUpdated ( string filePath, string sectionName, IBootstrap bootstrap ) : void
Pause ( ) : void
Resume ( ) : void

Method Details

Watch() public static method

Watches the specified configuration section.
public static Watch ( ConfigurationSection configSection, IBootstrap bootstrap ) : void
configSection System.Configuration.ConfigurationSection The configuration section.
bootstrap IBootstrap The bootstrap.
return void