Class ApplicationSettingsConfigurationProvider
- Namespace
- Acuit.Pinpoint.Configuration
- Assembly
- Acuit.Pinpoint.Configuration.dll
An IConfigurationProvider for legacy application configuration settings from the XML application configuration files.
public class ApplicationSettingsConfigurationProvider : ConfigurationProvider, IConfigurationProvider
- Inheritance
-
ApplicationSettingsConfigurationProvider
- Implements
- Inherited Members
Remarks
This only provides certain settings for backwards-compatibility. It does not pull in all settings (e.g., settings used by plug-ins).
This provider will automatically reload when the settings change. Writing a setting value does not persist the new value to the source XML configuration file.
Constructors
ApplicationSettingsConfigurationProvider(ApplicationSettingsBase, string)
Initializes a new instance of the ApplicationSettingsConfigurationProvider class.
public ApplicationSettingsConfigurationProvider(ApplicationSettingsBase settings, string sectionKey)
Parameters
settings
ApplicationSettingsBaseThe application settings.
sectionKey
stringThe section key.
Exceptions
- ArgumentNullException
settings
is null.
Methods
Load()
Loads (or reloads) the data for this provider.
public override void Load()