MemoryConfigurationBuilderExtensions.AddInMemoryCollection メソッド

定義

オーバーロード

AddInMemoryCollection(IConfigurationBuilder)

メモリ構成プロバイダーを configurationBuilder に追加します。

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

メモリ構成プロバイダーを configurationBuilder に追加します。

AddInMemoryCollection(IConfigurationBuilder)

ソース:
MemoryConfigurationBuilderExtensions.cs
ソース:
MemoryConfigurationBuilderExtensions.cs
ソース:
MemoryConfigurationBuilderExtensions.cs

メモリ構成プロバイダーを 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

パラメーター

configurationBuilder
IConfigurationBuilder

追加先の IConfigurationBuilder

戻り値

IConfigurationBuilder

適用対象

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

ソース:
MemoryConfigurationBuilderExtensions.cs
ソース:
MemoryConfigurationBuilderExtensions.cs
ソース:
MemoryConfigurationBuilderExtensions.cs

メモリ構成プロバイダーを 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

パラメーター

configurationBuilder
IConfigurationBuilder

追加先の IConfigurationBuilder

initialData
IEnumerable<KeyValuePair<String,String>>

メモリ構成プロバイダーに追加するデータ。

戻り値

IConfigurationBuilder

適用対象