Κοινή χρήση μέσω


ConfigurationManager.IConfigurationBuilder.Add(IConfigurationSource) Method

Definition

Adds a new configuration source.

 virtual Microsoft::Extensions::Configuration::IConfigurationBuilder ^ Microsoft.Extensions.Configuration.IConfigurationBuilder.Add(Microsoft::Extensions::Configuration::IConfigurationSource ^ source) = Microsoft::Extensions::Configuration::IConfigurationBuilder::Add;
Microsoft.Extensions.Configuration.IConfigurationBuilder IConfigurationBuilder.Add (Microsoft.Extensions.Configuration.IConfigurationSource source);
abstract member Microsoft.Extensions.Configuration.IConfigurationBuilder.Add : Microsoft.Extensions.Configuration.IConfigurationSource -> Microsoft.Extensions.Configuration.IConfigurationBuilder
override this.Microsoft.Extensions.Configuration.IConfigurationBuilder.Add : Microsoft.Extensions.Configuration.IConfigurationSource -> Microsoft.Extensions.Configuration.IConfigurationBuilder
Function Add (source As IConfigurationSource) As IConfigurationBuilder Implements IConfigurationBuilder.Add

Parameters

source
IConfigurationSource

The configuration source to add.

Returns

The same IConfigurationBuilder with the added configuration source.

Implements

Applies to