ChainedBuilderExtensions.AddConfiguration Methode

Definition

Überlädt

AddConfiguration(IConfigurationBuilder, IConfiguration)

Fügt configurationBuilder eine vorhandene Konfiguration hinzu.

AddConfiguration(IConfigurationBuilder, IConfiguration, Boolean)

Fügt configurationBuilder eine vorhandene Konfiguration hinzu.

AddConfiguration(IConfigurationBuilder, IConfiguration)

Quelle:
ChainedBuilderExtensions.cs
Quelle:
ChainedBuilderExtensions.cs
Quelle:
ChainedBuilderExtensions.cs

Fügt configurationBuilder eine vorhandene Konfiguration hinzu.

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

Die IConfigurationBuilder-Schnittstelle, der etwas hinzugefügt werden soll.

config
IConfiguration

Das hinzuzufügende IConfiguration.

Gibt zurück

Das IConfigurationBuilder.

Gilt für:

AddConfiguration(IConfigurationBuilder, IConfiguration, Boolean)

Quelle:
ChainedBuilderExtensions.cs
Quelle:
ChainedBuilderExtensions.cs
Quelle:
ChainedBuilderExtensions.cs

Fügt configurationBuilder eine vorhandene Konfiguration hinzu.

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

Die IConfigurationBuilder-Schnittstelle, der etwas hinzugefügt werden soll.

config
IConfiguration

Das hinzuzufügende IConfiguration.

shouldDisposeConfiguration
Boolean

Gibt an, ob die Konfiguration verworfen werden soll, wenn der Konfigurationsanbieter verworfen wird.

Gibt zurück

Das IConfigurationBuilder.

Gilt für: