ChainedBuilderExtensions.AddConfiguration Metodo

Definizione

Overload

AddConfiguration(IConfigurationBuilder, IConfiguration)

Aggiunge una configurazione esistente a configurationBuilder.

AddConfiguration(IConfigurationBuilder, IConfiguration, Boolean)

Aggiunge una configurazione esistente a configurationBuilder.

AddConfiguration(IConfigurationBuilder, IConfiguration)

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

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.

Si applica a