Sdílet prostřednictvím


ChainedBuilderExtensions.AddConfiguration Metoda

Definice

Přetížení

AddConfiguration(IConfigurationBuilder, IConfiguration)

Přidá existující konfiguraci do configurationBuilder.

AddConfiguration(IConfigurationBuilder, IConfiguration, Boolean)

Přidá existující konfiguraci do configurationBuilder.

AddConfiguration(IConfigurationBuilder, IConfiguration)

Zdroj:
ChainedBuilderExtensions.cs
Zdroj:
ChainedBuilderExtensions.cs
Zdroj:
ChainedBuilderExtensions.cs

Přidá existující konfiguraci do 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

Parametry

configurationBuilder
IConfigurationBuilder

Příkaz IConfigurationBuilder , do který chcete přidat.

config
IConfiguration

Přidá IConfiguration se.

Návraty

Hodnota IConfigurationBuilder

Platí pro

AddConfiguration(IConfigurationBuilder, IConfiguration, Boolean)

Zdroj:
ChainedBuilderExtensions.cs
Zdroj:
ChainedBuilderExtensions.cs
Zdroj:
ChainedBuilderExtensions.cs

Přidá existující konfiguraci do 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

Parametry

configurationBuilder
IConfigurationBuilder

Příkaz IConfigurationBuilder , do který chcete přidat.

config
IConfiguration

Přidá IConfiguration se.

shouldDisposeConfiguration
Boolean

Jestli má být konfigurace uvolněna, když je zprostředkovatel konfigurace uvolněn.

Návraty

Hodnota IConfigurationBuilder

Platí pro