次の方法で共有


ChainedBuilderExtensions.AddConfiguration メソッド

定義

オーバーロード

AddConfiguration(IConfigurationBuilder, IConfiguration)

既存の構成を configurationBuilder に追加します。

AddConfiguration(IConfigurationBuilder, IConfiguration, Boolean)

既存の構成を configurationBuilder に追加します。

AddConfiguration(IConfigurationBuilder, IConfiguration)

ソース:
ChainedBuilderExtensions.cs
ソース:
ChainedBuilderExtensions.cs
ソース:
ChainedBuilderExtensions.cs

既存の構成を 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

パラメーター

configurationBuilder
IConfigurationBuilder

追加先の IConfigurationBuilder

config
IConfiguration

追加する IConfiguration

戻り値

IConfigurationBuilder

適用対象

AddConfiguration(IConfigurationBuilder, IConfiguration, Boolean)

ソース:
ChainedBuilderExtensions.cs
ソース:
ChainedBuilderExtensions.cs
ソース:
ChainedBuilderExtensions.cs

既存の構成を 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

パラメーター

configurationBuilder
IConfigurationBuilder

追加先の IConfigurationBuilder

config
IConfiguration

追加する IConfiguration

shouldDisposeConfiguration
Boolean

構成プロバイダーが破棄されるときに、構成を破棄する必要があるかどうかを指定します。

戻り値

IConfigurationBuilder

適用対象