MemoryConfigurationBuilderExtensions.AddInMemoryCollection MemoryConfigurationBuilderExtensions.AddInMemoryCollection MemoryConfigurationBuilderExtensions.AddInMemoryCollection Method

Definition

Overloads

AddInMemoryCollection(IConfigurationBuilder) AddInMemoryCollection(IConfigurationBuilder) AddInMemoryCollection(IConfigurationBuilder)

Adds the memory configuration provider to configurationBuilder.

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

Adds the memory configuration provider to configurationBuilder.

AddInMemoryCollection(IConfigurationBuilder) AddInMemoryCollection(IConfigurationBuilder) AddInMemoryCollection(IConfigurationBuilder)

Adds the memory configuration provider to 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
Parameters
Returns

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

Adds the memory configuration provider to configurationBuilder.

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
Parameters
initialData
IEnumerable<KeyValuePair<String,String>>

The data to add to memory configuration provider.

Returns

Applies to