C# Class ExternalConfigurationStore.Cloud.ExternalConfigurationManager

Inheritance: IDisposable
Afficher le fichier Open project: mspnp/cloud-design-patterns

Méthodes publiques

Méthode Description
ConfigChangeMonitor ( ) : Task

Loop that monitors for configuration changes

Dispose ( ) : void
ExternalConfigurationManager ( ISettingsStore settings, System.TimeSpan interval, string environment ) : System
ExternalConfigurationManager ( string environment ) : System
GetAppSetting ( string key ) : string

Retrieve application setting from the local cache

StartMonitor ( ) : void

Start the background monitoring for configuration changes in the central store

StopMonitor ( ) : void

Stop Monitoring for Configuration Changes

Private Methods

Méthode Description
CheckForConfigurationChangesAsync ( ) : Task

Check the central repository for configuration changes and update the local cache

Method Details

ConfigChangeMonitor() public méthode

Loop that monitors for configuration changes
public ConfigChangeMonitor ( ) : Task
Résultat Task

Dispose() public méthode

public Dispose ( ) : void
Résultat void

ExternalConfigurationManager() public méthode

public ExternalConfigurationManager ( ISettingsStore settings, System.TimeSpan interval, string environment ) : System
settings ISettingsStore
interval System.TimeSpan
environment string
Résultat System

ExternalConfigurationManager() public méthode

public ExternalConfigurationManager ( string environment ) : System
environment string
Résultat System

GetAppSetting() public méthode

Retrieve application setting from the local cache
public GetAppSetting ( string key ) : string
key string
Résultat string

StartMonitor() public méthode

Start the background monitoring for configuration changes in the central store
public StartMonitor ( ) : void
Résultat void

StopMonitor() public méthode

Stop Monitoring for Configuration Changes
public StopMonitor ( ) : void
Résultat void