FakeHostingExtensions.ConfigureAppConfiguration 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
ConfigureAppConfiguration(IHostBuilder, ValueTuple<String,String>[]) |
Agrega entradas de configuración. |
ConfigureAppConfiguration(IHostBuilder, String, String) |
Agrega un valor de configuración. |
ConfigureAppConfiguration(IHostBuilder, ValueTuple<String,String>[])
- Source:
- FakeHostingExtensions.cs
Agrega entradas de configuración.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Hosting::IHostBuilder ^ ConfigureAppConfiguration(Microsoft::Extensions::Hosting::IHostBuilder ^ builder, ... cli::array <ValueTuple<System::String ^, System::String ^>> ^ configurations);
public static Microsoft.Extensions.Hosting.IHostBuilder ConfigureAppConfiguration (this Microsoft.Extensions.Hosting.IHostBuilder builder, params (string key, string value)[] configurations);
static member ConfigureAppConfiguration : Microsoft.Extensions.Hosting.IHostBuilder * ValueTuple<string, string>[] -> Microsoft.Extensions.Hosting.IHostBuilder
<Extension()>
Public Function ConfigureAppConfiguration (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
ConfigureAppConfiguration(IHostBuilder, String, String)
- Source:
- FakeHostingExtensions.cs
Agrega un valor de configuración.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Hosting::IHostBuilder ^ ConfigureAppConfiguration(Microsoft::Extensions::Hosting::IHostBuilder ^ builder, System::String ^ key, System::String ^ value);
public static Microsoft.Extensions.Hosting.IHostBuilder ConfigureAppConfiguration (this Microsoft.Extensions.Hosting.IHostBuilder builder, string key, string value);
static member ConfigureAppConfiguration : Microsoft.Extensions.Hosting.IHostBuilder * string * string -> Microsoft.Extensions.Hosting.IHostBuilder
<Extension()>
Public Function ConfigureAppConfiguration (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.