Udostępnij za pośrednictwem


ChainedBuilderExtensions.AddConfiguration Metoda

Definicja

Przeciążenia

AddConfiguration(IConfigurationBuilder, IConfiguration)

Dodaje istniejącą konfigurację do configurationBuilderelementu .

AddConfiguration(IConfigurationBuilder, IConfiguration, Boolean)

Dodaje istniejącą konfigurację do configurationBuilderelementu .

AddConfiguration(IConfigurationBuilder, IConfiguration)

Źródło:
ChainedBuilderExtensions.cs
Źródło:
ChainedBuilderExtensions.cs
Źródło:
ChainedBuilderExtensions.cs

Dodaje istniejącą konfigurację do configurationBuilderelementu .

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

Element do dodania IConfigurationBuilder .

config
IConfiguration

Element do dodania IConfiguration .

Zwraca

Element IConfigurationBuilder.

Dotyczy

AddConfiguration(IConfigurationBuilder, IConfiguration, Boolean)

Źródło:
ChainedBuilderExtensions.cs
Źródło:
ChainedBuilderExtensions.cs
Źródło:
ChainedBuilderExtensions.cs

Dodaje istniejącą konfigurację do configurationBuilderelementu .

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

Element do dodania IConfigurationBuilder .

config
IConfiguration

Element do dodania IConfiguration .

shouldDisposeConfiguration
Boolean

Określa, czy konfiguracja powinna zostać usunięta po usunięciu dostawcy konfiguracji.

Zwraca

Element IConfigurationBuilder.

Dotyczy