Condividi tramite


MemoryConfigurationBuilderExtensions.AddInMemoryCollection Metodo

Definizione

Overload

AddInMemoryCollection(IConfigurationBuilder)

Aggiunge il provider di configurazione della memoria a configurationBuilder.

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

Aggiunge il provider di configurazione della memoria a configurationBuilder.

AddInMemoryCollection(IConfigurationBuilder)

Origine:
MemoryConfigurationBuilderExtensions.cs
Origine:
MemoryConfigurationBuilderExtensions.cs
Origine:
MemoryConfigurationBuilderExtensions.cs

Aggiunge il provider di configurazione della memoria a 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

Parametri

configurationBuilder
IConfigurationBuilder

Oggetto IConfigurationBuilder in cui effettuare l'aggiunta.

Restituisce

Oggetto IConfigurationBuilder.

Si applica a

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

Origine:
MemoryConfigurationBuilderExtensions.cs
Origine:
MemoryConfigurationBuilderExtensions.cs
Origine:
MemoryConfigurationBuilderExtensions.cs

Aggiunge il provider di configurazione della memoria a 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

Parametri

configurationBuilder
IConfigurationBuilder

Oggetto IConfigurationBuilder in cui effettuare l'aggiunta.

initialData
IEnumerable<KeyValuePair<String,String>>

Dati da aggiungere al provider di configurazione della memoria.

Restituisce

Oggetto IConfigurationBuilder.

Si applica a