AppConfiguration.Initialize

This method initializes the configuration object with a provider and performs an initial read from the config store.

public void Initialize(IConfigurationProvider provider,
	string sectionName,
	object configData)

Parameters

provider
Optional - preconfigured ConfigurationProvider instance. If not passed ConfigurationFileConfigurationProvider is used.

sectionName
Optional - sub-section name used for config files. Not used by all config stores

configData
Optional - additional config data to pass to OnInitialize if implemented


See also:

Class AppConfiguration

© West Wind Technologies, 1996-2023 • Updated: 07/15/20
Comment or report problem with topic