Partager via


MemoryConfigurationBuilderExtensions.AddInMemoryCollection Méthode

Définition

Surcharges

AddInMemoryCollection(IConfigurationBuilder)

Ajoute le fournisseur de configuration de mémoire à configurationBuilder.

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

Ajoute le fournisseur de configuration de mémoire à configurationBuilder.

AddInMemoryCollection(IConfigurationBuilder)

Source:
MemoryConfigurationBuilderExtensions.cs
Source:
MemoryConfigurationBuilderExtensions.cs
Source:
MemoryConfigurationBuilderExtensions.cs

Ajoute le fournisseur de configuration de mémoire à 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

Paramètres

configurationBuilder
IConfigurationBuilder

IConfigurationBuilder auquel ajouter.

Retours

Le IConfigurationBuilder.

S’applique à

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

Source:
MemoryConfigurationBuilderExtensions.cs
Source:
MemoryConfigurationBuilderExtensions.cs
Source:
MemoryConfigurationBuilderExtensions.cs

Ajoute le fournisseur de configuration de mémoire à 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

Paramètres

configurationBuilder
IConfigurationBuilder

IConfigurationBuilder auquel ajouter.

initialData
IEnumerable<KeyValuePair<String,String>>

Données à ajouter au fournisseur de configuration de mémoire.

Retours

Le IConfigurationBuilder.

S’applique à