Bagikan melalui


ChainedBuilderExtensions.AddConfiguration Metode

Definisi

Overload

AddConfiguration(IConfigurationBuilder, IConfiguration)

Menambahkan konfigurasi yang ada ke configurationBuilder.

AddConfiguration(IConfigurationBuilder, IConfiguration, Boolean)

Menambahkan konfigurasi yang ada ke configurationBuilder.

AddConfiguration(IConfigurationBuilder, IConfiguration)

Sumber:
ChainedBuilderExtensions.cs
Sumber:
ChainedBuilderExtensions.cs
Sumber:
ChainedBuilderExtensions.cs
Sumber:
ChainedBuilderExtensions.cs

Menambahkan konfigurasi yang ada ke 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

Parameter

configurationBuilder
IConfigurationBuilder

yang IConfigurationBuilder akan ditambahkan ke.

config
IConfiguration

yang IConfiguration akan ditambahkan.

Mengembalikan

IConfigurationBuilder.

Berlaku untuk

AddConfiguration(IConfigurationBuilder, IConfiguration, Boolean)

Sumber:
ChainedBuilderExtensions.cs
Sumber:
ChainedBuilderExtensions.cs
Sumber:
ChainedBuilderExtensions.cs
Sumber:
ChainedBuilderExtensions.cs

Menambahkan konfigurasi yang ada ke 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

Parameter

configurationBuilder
IConfigurationBuilder

yang IConfigurationBuilder akan ditambahkan ke.

config
IConfiguration

yang IConfiguration akan ditambahkan.

shouldDisposeConfiguration
Boolean

Apakah konfigurasi harus dibuang ketika penyedia konfigurasi dibuang.

Mengembalikan

IConfigurationBuilder.

Berlaku untuk