ChainedBuilderExtensions.AddConfiguration Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
AddConfiguration(IConfigurationBuilder, IConfiguration) |
Aggiunge una configurazione esistente a |
AddConfiguration(IConfigurationBuilder, IConfiguration, Boolean) |
Aggiunge una configurazione esistente a |
AddConfiguration(IConfigurationBuilder, IConfiguration)
- Origine:
- ChainedBuilderExtensions.cs
- Origine:
- ChainedBuilderExtensions.cs
- Origine:
- ChainedBuilderExtensions.cs
Aggiunge una configurazione esistente 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
Parametri
- configurationBuilder
- IConfigurationBuilder
Oggetto IConfigurationBuilder in cui effettuare l'aggiunta.
- config
- IConfiguration
Oggetto IConfiguration da aggiungere.
Restituisce
Oggetto IConfigurationBuilder.
Si applica a
AddConfiguration(IConfigurationBuilder, IConfiguration, Boolean)
- Origine:
- ChainedBuilderExtensions.cs
- Origine:
- ChainedBuilderExtensions.cs
- Origine:
- ChainedBuilderExtensions.cs
Aggiunge una configurazione esistente 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
Parametri
- configurationBuilder
- IConfigurationBuilder
Oggetto IConfigurationBuilder in cui effettuare l'aggiunta.
- config
- IConfiguration
Oggetto IConfiguration da aggiungere.
- shouldDisposeConfiguration
- Boolean
Indica se la configurazione deve essere eliminata quando viene eliminato il provider di configurazione.
Restituisce
Oggetto IConfigurationBuilder.