Partager via


ChainedBuilderExtensions.AddConfiguration Méthode

Définition

Surcharges

AddConfiguration(IConfigurationBuilder, IConfiguration)

Ajoute une configuration existante à configurationBuilder.

AddConfiguration(IConfigurationBuilder, IConfiguration, Boolean)

Ajoute une configuration existante à configurationBuilder.

AddConfiguration(IConfigurationBuilder, IConfiguration)

Source:
ChainedBuilderExtensions.cs
Source:
ChainedBuilderExtensions.cs
Source:
ChainedBuilderExtensions.cs

Ajoute une configuration existante à configurationBuilder.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Configuration::IConfigurationBuilder ^ AddConfiguration(Microsoft::Extensions::Configuration::IConfigurationBuilder ^ configurationBuilder, Microsoft::Extensions::Configuration::IConfiguration ^ config);
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddConfiguration (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, Microsoft.Extensions.Configuration.IConfiguration config);
static member AddConfiguration : Microsoft.Extensions.Configuration.IConfigurationBuilder * Microsoft.Extensions.Configuration.IConfiguration -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddConfiguration (configurationBuilder As IConfigurationBuilder, config As IConfiguration) As IConfigurationBuilder

Paramètres

configurationBuilder
IConfigurationBuilder

IConfigurationBuilder auquel ajouter.

config
IConfiguration

IConfiguration à ajouter.

Retours

Le IConfigurationBuilder.

S’applique à

AddConfiguration(IConfigurationBuilder, IConfiguration, Boolean)

Source:
ChainedBuilderExtensions.cs
Source:
ChainedBuilderExtensions.cs
Source:
ChainedBuilderExtensions.cs

Ajoute une configuration existante à configurationBuilder.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Configuration::IConfigurationBuilder ^ AddConfiguration(Microsoft::Extensions::Configuration::IConfigurationBuilder ^ configurationBuilder, Microsoft::Extensions::Configuration::IConfiguration ^ config, bool shouldDisposeConfiguration);
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddConfiguration (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, Microsoft.Extensions.Configuration.IConfiguration config, bool shouldDisposeConfiguration);
static member AddConfiguration : Microsoft.Extensions.Configuration.IConfigurationBuilder * Microsoft.Extensions.Configuration.IConfiguration * bool -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddConfiguration (configurationBuilder As IConfigurationBuilder, config As IConfiguration, shouldDisposeConfiguration As Boolean) As IConfigurationBuilder

Paramètres

configurationBuilder
IConfigurationBuilder

IConfigurationBuilder auquel ajouter.

config
IConfiguration

IConfiguration à ajouter.

shouldDisposeConfiguration
Boolean

Indique si la configuration doit être supprimée lorsque le fournisseur de configuration est supprimé.

Retours

Le IConfigurationBuilder.

S’applique à