ChainedBuilderExtensions.AddConfiguration Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
AddConfiguration(IConfigurationBuilder, IConfiguration) |
Ajoute une configuration existante à |
AddConfiguration(IConfigurationBuilder, IConfiguration, Boolean) |
Ajoute une configuration existante à |
AddConfiguration(IConfigurationBuilder, IConfiguration)
- Source:
- ChainedBuilderExtensions.cs
- 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
S’applique à
AddConfiguration(IConfigurationBuilder, IConfiguration, Boolean)
- Source:
- ChainedBuilderExtensions.cs
- 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é.