Compartilhar via


ChainedBuilderExtensions.AddConfiguration Método

Definição

Sobrecargas

AddConfiguration(IConfigurationBuilder, IConfiguration)

Adiciona uma configuração existente a configurationBuilder.

AddConfiguration(IConfigurationBuilder, IConfiguration, Boolean)

Adiciona uma configuração existente a configurationBuilder.

AddConfiguration(IConfigurationBuilder, IConfiguration)

Origem:
ChainedBuilderExtensions.cs
Origem:
ChainedBuilderExtensions.cs
Origem:
ChainedBuilderExtensions.cs
Origem:
ChainedBuilderExtensions.cs

Adiciona uma configuração existente a 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

Parâmetros

configurationBuilder
IConfigurationBuilder

O IConfigurationBuilder ao qual adicionar.

config
IConfiguration

O IConfiguration a ser adicionado.

Retornos

O IConfigurationBuilder.

Aplica-se a

AddConfiguration(IConfigurationBuilder, IConfiguration, Boolean)

Origem:
ChainedBuilderExtensions.cs
Origem:
ChainedBuilderExtensions.cs
Origem:
ChainedBuilderExtensions.cs
Origem:
ChainedBuilderExtensions.cs

Adiciona uma configuração existente a 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

Parâmetros

configurationBuilder
IConfigurationBuilder

O IConfigurationBuilder ao qual adicionar.

config
IConfiguration

O IConfiguration a ser adicionado.

shouldDisposeConfiguration
Boolean

Se a configuração precisa ser descartada quando o provedor de configuração é descartado.

Retornos

O IConfigurationBuilder.

Aplica-se a