FakeHostingExtensions.ConfigureHostConfiguration Método

Definición

Sobrecargas

ConfigureHostConfiguration(IHostBuilder, ValueTuple<String,String>[])

Agrega entradas de configuración.

ConfigureHostConfiguration(IHostBuilder, String, String)

Agrega un valor de configuración.

ConfigureHostConfiguration(IHostBuilder, ValueTuple<String,String>[])

Source:
FakeHostingExtensions.cs

Agrega entradas de configuración.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Hosting::IHostBuilder ^ ConfigureHostConfiguration(Microsoft::Extensions::Hosting::IHostBuilder ^ builder, ... cli::array <ValueTuple<System::String ^, System::String ^>> ^ configurations);
public static Microsoft.Extensions.Hosting.IHostBuilder ConfigureHostConfiguration (this Microsoft.Extensions.Hosting.IHostBuilder builder, params (string key, string value)[] configurations);
static member ConfigureHostConfiguration : Microsoft.Extensions.Hosting.IHostBuilder * ValueTuple<string, string>[] -> Microsoft.Extensions.Hosting.IHostBuilder
<Extension()>
Public Function ConfigureHostConfiguration (builder As IHostBuilder, ParamArray configurations As ValueTuple(Of String, String)()) As IHostBuilder

Parámetros

builder
IHostBuilder

Instancia de IHostBuilder.

configurations
ValueTuple<String,String>[]

Lista de tuplas de clave y valor que se usarán como entradas de configuración.

Devoluciones

Instancia de IHostBuilder.

Se aplica a

ConfigureHostConfiguration(IHostBuilder, String, String)

Source:
FakeHostingExtensions.cs

Agrega un valor de configuración.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Hosting::IHostBuilder ^ ConfigureHostConfiguration(Microsoft::Extensions::Hosting::IHostBuilder ^ builder, System::String ^ key, System::String ^ value);
public static Microsoft.Extensions.Hosting.IHostBuilder ConfigureHostConfiguration (this Microsoft.Extensions.Hosting.IHostBuilder builder, string key, string value);
static member ConfigureHostConfiguration : Microsoft.Extensions.Hosting.IHostBuilder * string * string -> Microsoft.Extensions.Hosting.IHostBuilder
<Extension()>
Public Function ConfigureHostConfiguration (builder As IHostBuilder, key As String, value As String) As IHostBuilder

Parámetros

builder
IHostBuilder

Instancia de IHostBuilder.

key
String

Clave de configuración.

value
String

El valor de configuración.

Devoluciones

Instancia de IHostBuilder.

Se aplica a