Compartir a través de


ServiceFakesWebHostExtensions.UseFakeStartup(IWebHostBuilder) Método

Definición

Agrega una clase Startup vacía para satisfacer ASP.NET comprobación.

public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseFakeStartup (this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder);
static member UseFakeStartup : Microsoft.AspNetCore.Hosting.IWebHostBuilder -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseFakeStartup (builder As IWebHostBuilder) As IWebHostBuilder

Parámetros

builder
IWebHostBuilder

Instancia de IWebHostBuilder.

Devoluciones

El valor de builder.

Se aplica a