ChainedBuilderExtensions.AddConfiguration Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
AddConfiguration(IConfigurationBuilder, IConfiguration) |
Menambahkan konfigurasi yang ada ke |
AddConfiguration(IConfigurationBuilder, IConfiguration, Boolean) |
Menambahkan konfigurasi yang ada ke |
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
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.