C# Class ConfigurationMonitor, code

Mostra file Open project: shendongnian/code Class Usage Examples

Private Properties

Property Type Description
OnTimerElapsed void

Public Methods

Method Description
LoadMonitoringMethods ( ) : void

Resets and instanciates MonitorMethods property to refresh dlls being monitored

OnAppDomainChanged ( string configFile, IDictionary properties ) : void
PollForChanges ( ) : DateTime,
PollForChanges ( DateTime, lastPollDate ) : DateTime,
Start ( ) : void
Start ( int pollingIntervalMS ) : void

Initiates a timer to monitor for configuration changes. This method is invoke on web application startup.

Stop ( ) : void

Private Methods

Method Description
OnTimerElapsed ( object sender, ElapsedEventArgs, e ) : void

Monitors CE table for changes

Method Details

LoadMonitoringMethods() public static method

Resets and instanciates MonitorMethods property to refresh dlls being monitored
public static LoadMonitoringMethods ( ) : void
return void

OnAppDomainChanged() public static method

public static OnAppDomainChanged ( string configFile, IDictionary properties ) : void
configFile string
properties IDictionary
return void

PollForChanges() public static method

public static PollForChanges ( ) : DateTime,
return DateTime,

PollForChanges() public static method

public static PollForChanges ( DateTime, lastPollDate ) : DateTime,
lastPollDate DateTime,
return DateTime,

Start() public static method

public static Start ( ) : void
return void

Start() public static method

Initiates a timer to monitor for configuration changes. This method is invoke on web application startup.
public static Start ( int pollingIntervalMS ) : void
pollingIntervalMS int
return void

Stop() public static method

public static Stop ( ) : void
return void