FakeHost.CreateBuilder 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
CreateBuilder() |
Crea una instancia de IHostBuilder para configurar y compilar el host. |
CreateBuilder(FakeHostOptions) |
Crea una instancia de IHostBuilder para configurar y compilar el host. |
CreateBuilder(Action<FakeHostOptions>) |
Crea una instancia de IHostBuilder para configurar y compilar el host. |
CreateBuilder()
- Source:
- FakeHost.cs
- Source:
- FakeHost.cs
Crea una instancia de IHostBuilder para configurar y compilar el host.
public:
static Microsoft::Extensions::Hosting::IHostBuilder ^ CreateBuilder();
public static Microsoft.Extensions.Hosting.IHostBuilder CreateBuilder ();
static member CreateBuilder : unit -> Microsoft.Extensions.Hosting.IHostBuilder
Public Shared Function CreateBuilder () As IHostBuilder
Devoluciones
Instancia de IHostBuilder.
Se aplica a
CreateBuilder(FakeHostOptions)
- Source:
- FakeHost.cs
- Source:
- FakeHost.cs
Crea una instancia de IHostBuilder para configurar y compilar el host.
public:
static Microsoft::Extensions::Hosting::IHostBuilder ^ CreateBuilder(Microsoft::Extensions::Hosting::Testing::FakeHostOptions ^ options);
public static Microsoft.Extensions.Hosting.IHostBuilder CreateBuilder (Microsoft.Extensions.Hosting.Testing.FakeHostOptions options);
static member CreateBuilder : Microsoft.Extensions.Hosting.Testing.FakeHostOptions -> Microsoft.Extensions.Hosting.IHostBuilder
Public Shared Function CreateBuilder (options As FakeHostOptions) As IHostBuilder
Parámetros
- options
- FakeHostOptions
Instancia de FakeHostOptions.
Devoluciones
Instancia de IHostBuilder.
Se aplica a
CreateBuilder(Action<FakeHostOptions>)
- Source:
- FakeHost.cs
- Source:
- FakeHost.cs
Crea una instancia de IHostBuilder para configurar y compilar el host.
public:
static Microsoft::Extensions::Hosting::IHostBuilder ^ CreateBuilder(Action<Microsoft::Extensions::Hosting::Testing::FakeHostOptions ^> ^ configure);
public static Microsoft.Extensions.Hosting.IHostBuilder CreateBuilder (Action<Microsoft.Extensions.Hosting.Testing.FakeHostOptions> configure);
static member CreateBuilder : Action<Microsoft.Extensions.Hosting.Testing.FakeHostOptions> -> Microsoft.Extensions.Hosting.IHostBuilder
Public Shared Function CreateBuilder (configure As Action(Of FakeHostOptions)) As IHostBuilder
Parámetros
- configure
- Action<FakeHostOptions>
Opciones para configurar la FakeHostOptions instancia.
Devoluciones
Instancia de IHostBuilder.