MemoryConfigurationBuilderExtensions.AddInMemoryCollection Methode

Definition

Überlädt

AddInMemoryCollection(IConfigurationBuilder)

Fügt den Speicherkonfigurationsanbieter configurationBuilder hinzu.Adds the memory configuration provider to configurationBuilder.

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

Fügt den Speicherkonfigurationsanbieter configurationBuilder hinzu.Adds the memory configuration provider to configurationBuilder.

AddInMemoryCollection(IConfigurationBuilder)

Fügt den Speicherkonfigurationsanbieter configurationBuilder hinzu.Adds the memory configuration provider to configurationBuilder.

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.The IConfigurationBuilder to add to.

Gibt zurück

IConfigurationBuilder

Die IConfigurationBuilder.The IConfigurationBuilder.

Gilt für:

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

Fügt den Speicherkonfigurationsanbieter configurationBuilder hinzu.Adds the memory configuration provider to configurationBuilder.

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);
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.The IConfigurationBuilder to add to.

initialData
IEnumerable<KeyValuePair<String,String>>

Die Daten, die dem Speicherkonfigurationsanbieter hinzugefügt werden sollen.The data to add to memory configuration provider.

Gibt zurück

IConfigurationBuilder

Die IConfigurationBuilder.The IConfigurationBuilder.

Gilt für: