MemoryConfigurationBuilderExtensions.AddInMemoryCollection Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
AddInMemoryCollection(IConfigurationBuilder) |
Agrega el proveedor de configuración de memoria a |
AddInMemoryCollection(IConfigurationBuilder, IEnumerable<KeyValuePair<String,String>>) |
Agrega el proveedor de configuración de memoria a |
AddInMemoryCollection(IConfigurationBuilder)
Agrega el proveedor de configuración de 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
Parámetros
- configurationBuilder
- IConfigurationBuilder
El objeto IConfigurationBuilder al que se va a agregar.
Devoluciones
El parámetro de cadena de consulta IConfigurationBuilder.
Se aplica a
AddInMemoryCollection(IConfigurationBuilder, IEnumerable<KeyValuePair<String,String>>)
Agrega el proveedor de configuración de 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
Parámetros
- configurationBuilder
- IConfigurationBuilder
El objeto IConfigurationBuilder al que se va a agregar.
- initialData
- IEnumerable<KeyValuePair<String,String>>
Los datos que se van a agregar al proveedor de configuración de memoria.
Devoluciones
El parámetro de cadena de consulta IConfigurationBuilder.