Partilhar via


ServiceFakesWebHostExtensions.UseFakeStartup(IWebHostBuilder) Método

Definição

Adiciona uma classe de inicialização vazia para satisfazer ASP.NET marcar.

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

Uma instância IWebHostBuilder.

Retornos

O valor de builder.

Aplica-se a