Reads and Writes configuration settings in .NET config files and sections. Allows reading and writing to default or external files and specification of the configuration section that settings are applied to.
Westwind.Utilities.Configuration.ConfigurationProviderBase<TAppConfiguration>
Westwind.Utilities.Configuration.ConfigurationFileConfigurationProvider<TAppConfiguration>
public class ConfigurationFileConfigurationProvider<TAppConfiguration> : ConfigurationProviderBase<TAppConfiguration>
Class Members
Member | Description | |
---|---|---|
Constructor |
||
Read |
Reads configuration settings from the current configuration manager. Uses the internal APIs to write these values. public virtual bool Read(AppConfiguration config) public virtual bool Read(AppConfiguration config, string filename) |
|
Read |
Reads configuration settings into a new instance of the configuration object. public virtual TAppConfig Read |
|
Write |
public virtual bool Write(AppConfiguration config) |
|
ConfigurationFile |
Optional - the Configuration file where configuration settings are stored in. If not specified uses the default Configuration Manager and its default store. |
Requirements
Namespace: Westwind.Utilities.ConfigurationAssembly: westwind.utilities.dll
© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic