MemoryConfigurationBuilderExtensions.AddInMemoryCollection Methode

Definition

Überlädt

AddInMemoryCollection(IConfigurationBuilder)

Fügt den Speicherkonfigurationsanbieter configurationBuilder hinzu.

AddInMemoryCollection(IConfigurationBuilder, IEnumerable<KeyValuePair<String,String>>)

Fügt den Speicherkonfigurationsanbieter configurationBuilder hinzu.

AddInMemoryCollection(IConfigurationBuilder)

Quelle:
MemoryConfigurationBuilderExtensions.cs
Quelle:
MemoryConfigurationBuilderExtensions.cs
Quelle:
MemoryConfigurationBuilderExtensions.cs

Fügt den Speicherkonfigurationsanbieter configurationBuilder hinzu.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Configuration::IConfigurationBuilder ^ AddInMemoryCollection(Microsoft::Extensions::Configuration::IConfigurationBuilder ^ configurationBuilder);
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddInMemoryCollection (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder);
static member AddInMemoryCollection : Microsoft.Extensions.Configuration.IConfigurationBuilder -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddInMemoryCollection (configurationBuilder As IConfigurationBuilder) As IConfigurationBuilder

Parameter

configurationBuilder
IConfigurationBuilder

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

Gibt zurück

Das IConfigurationBuilder.

Gilt für:

AddInMemoryCollection(IConfigurationBuilder, IEnumerable<KeyValuePair<String,String>>)

Quelle:
MemoryConfigurationBuilderExtensions.cs
Quelle:
MemoryConfigurationBuilderExtensions.cs
Quelle:
MemoryConfigurationBuilderExtensions.cs

Fügt den Speicherkonfigurationsanbieter configurationBuilder hinzu.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Configuration::IConfigurationBuilder ^ AddInMemoryCollection(Microsoft::Extensions::Configuration::IConfigurationBuilder ^ configurationBuilder, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::String ^>> ^ initialData);
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddInMemoryCollection (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>> initialData);
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddInMemoryCollection (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string?>>? initialData);
static member AddInMemoryCollection : Microsoft.Extensions.Configuration.IConfigurationBuilder * seq<System.Collections.Generic.KeyValuePair<string, string>> -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddInMemoryCollection (configurationBuilder As IConfigurationBuilder, initialData As IEnumerable(Of KeyValuePair(Of String, String))) As IConfigurationBuilder

Parameter

configurationBuilder
IConfigurationBuilder

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

initialData
IEnumerable<KeyValuePair<String,String>>

Die Daten, die dem Speicherkonfigurationsanbieter hinzugefügt werden sollen.

Gibt zurück

Das IConfigurationBuilder.

Gilt für: