Condividi tramite


ServiceFakesWebHostExtensions.UseFakeStartup(IWebHostBuilder) Metodo

Definizione

Aggiunge una classe Startup vuota per soddisfare ASP.NET controllo.

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

Parametri

builder
IWebHostBuilder

Istanza di IWebHostBuilder.

Restituisce

Valore di builder.

Si applica a