FakeHostingExtensions.ConfigureHostConfiguration 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
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.