WebAssemblyHostConfiguration.Add(IConfigurationSource) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a new configuration source, retrieves the provider for the source, and adds a change listener that triggers a reload of the provider whenever a change is detected.
public:
virtual Microsoft::Extensions::Configuration::IConfigurationBuilder ^ Add(Microsoft::Extensions::Configuration::IConfigurationSource ^ source);
public Microsoft.Extensions.Configuration.IConfigurationBuilder Add (Microsoft.Extensions.Configuration.IConfigurationSource source);
abstract member Add : Microsoft.Extensions.Configuration.IConfigurationSource -> Microsoft.Extensions.Configuration.IConfigurationBuilder
override this.Add : Microsoft.Extensions.Configuration.IConfigurationSource -> Microsoft.Extensions.Configuration.IConfigurationBuilder
Public Function Add (source As IConfigurationSource) As IConfigurationBuilder
Parameters
- source
- IConfigurationSource
The configuration source to add.
Returns
The same IConfigurationBuilder.