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-2024 • Updated: 06/29/24
Comment or report problem with topic