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.JsonFileConfigurationProvider<TAppConfiguration>
public class JsonFileConfigurationProvider<TAppConfiguration> : ConfigurationProviderBase<TAppConfiguration>
Class Members
Member | Description | |
---|---|---|
Constructor |
||
Read |
Reads configuration into the current instance of the config object passed in. public virtual bool Read(AppConfiguration config) |
|
Read |
Return public virtual TAppConfig Read |
|
Write |
Write configuration to XmlConfigurationFile location public virtual bool Write(AppConfiguration config) |
|
JsonConfigurationFile |
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-2024 • Updated: 06/29/24
Comment or report problem with topic