ServiceFakesWebHostExtensions.UseFakeStartup(IWebHostBuilder) Méthode

Définition

Ajoute une classe startup vide pour satisfaire ASP.NET case activée.

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

Paramètres

builder
IWebHostBuilder

Instance de IWebHostBuilder.

Retours

la valeur de la propriété builder ;

S’applique à