Class JsonFileConfigurationProvider<TAppConfiguration>

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.

System.Object
  Westwind.Utilities.Configuration.ConfigurationProviderBase<TAppConfiguration>
    Westwind.Utilities.Configuration.JsonFileConfigurationProvider<TAppConfiguration>
public class JsonFileConfigurationProvider<TAppConfiguration> : ConfigurationProviderBase<TAppConfiguration>

Class Members

MemberDescription

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.Configuration
Assembly: westwind.utilities.dll

© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic