Sdílet prostřednictvím


MemoryConfigurationBuilderExtensions.AddInMemoryCollection Metoda

Definice

Přetížení

AddInMemoryCollection(IConfigurationBuilder)

Přidá zprostředkovatele konfigurace paměti do configurationBuilder.

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

Přidá zprostředkovatele konfigurace paměti do configurationBuilder.

AddInMemoryCollection(IConfigurationBuilder)

Zdroj:
MemoryConfigurationBuilderExtensions.cs
Zdroj:
MemoryConfigurationBuilderExtensions.cs
Zdroj:
MemoryConfigurationBuilderExtensions.cs

Přidá zprostředkovatele konfigurace paměti do 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

Parametry

configurationBuilder
IConfigurationBuilder

Chcete-li IConfigurationBuilder přidat do.

Návraty

Hodnota IConfigurationBuilder

Platí pro

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

Zdroj:
MemoryConfigurationBuilderExtensions.cs
Zdroj:
MemoryConfigurationBuilderExtensions.cs
Zdroj:
MemoryConfigurationBuilderExtensions.cs

Přidá zprostředkovatele konfigurace paměti do 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);
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

Chcete-li IConfigurationBuilder přidat do.

initialData
IEnumerable<KeyValuePair<String,String>>

Data, která se mají přidat do zprostředkovatele konfigurace paměti.

Návraty

Hodnota IConfigurationBuilder

Platí pro