Udostępnij za pośrednictwem


MemoryConfigurationBuilderExtensions.AddInMemoryCollection Metoda

Definicja

Przeciążenia

AddInMemoryCollection(IConfigurationBuilder)

Dodaje dostawcę konfiguracji pamięci do configurationBuilderelementu .

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

Dodaje dostawcę konfiguracji pamięci do configurationBuilderelementu .

AddInMemoryCollection(IConfigurationBuilder)

Źródło:
MemoryConfigurationBuilderExtensions.cs
Źródło:
MemoryConfigurationBuilderExtensions.cs
Źródło:
MemoryConfigurationBuilderExtensions.cs

Dodaje dostawcę konfiguracji pamięci do configurationBuilderelementu .

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

Parametry

configurationBuilder
IConfigurationBuilder

Element IConfigurationBuilder do dodania.

Zwraca

Element IConfigurationBuilder.

Dotyczy

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

Źródło:
MemoryConfigurationBuilderExtensions.cs
Źródło:
MemoryConfigurationBuilderExtensions.cs
Źródło:
MemoryConfigurationBuilderExtensions.cs

Dodaje dostawcę konfiguracji pamięci do configurationBuilderelementu .

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

Parametry

configurationBuilder
IConfigurationBuilder

Element IConfigurationBuilder do dodania.

initialData
IEnumerable<KeyValuePair<String,String>>

Dane do dodania do dostawcy konfiguracji pamięci.

Zwraca

Element IConfigurationBuilder.

Dotyczy