Comparteix a través de


FakeHost.CreateBuilder Método

Definición

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.

Se aplica a