ChainedBuilderExtensions.AddConfiguration Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
AddConfiguration(IConfigurationBuilder, IConfiguration) |
Agrega una configuración existente a |
AddConfiguration(IConfigurationBuilder, IConfiguration, Boolean) |
Agrega una configuración existente a |
AddConfiguration(IConfigurationBuilder, IConfiguration)
- Source:
- ChainedBuilderExtensions.cs
- Source:
- ChainedBuilderExtensions.cs
- Source:
- ChainedBuilderExtensions.cs
Agrega una configuración 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
El objeto IConfigurationBuilder al que se va a agregar.
- config
- IConfiguration
IConfiguration que se va a agregar.
Devoluciones
El parámetro de cadena de consulta IConfigurationBuilder.
Se aplica a
AddConfiguration(IConfigurationBuilder, IConfiguration, Boolean)
- Source:
- ChainedBuilderExtensions.cs
- Source:
- ChainedBuilderExtensions.cs
- Source:
- ChainedBuilderExtensions.cs
Agrega una configuración 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
El objeto IConfigurationBuilder al que se va a agregar.
- config
- IConfiguration
IConfiguration que se va a agregar.
- shouldDisposeConfiguration
- Boolean
Indica si la configuración se debe eliminar cuando se elimina el proveedor de configuración.
Devoluciones
El parámetro de cadena de consulta IConfigurationBuilder.