Partager via


WebApplicationFactory<TEntryPoint>.ConfigureWebHost Méthode

Définition

Donne à un montage la possibilité de configurer l’application avant sa génération.

protected:
 virtual void ConfigureWebHost(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ builder);
protected virtual void ConfigureWebHost (Microsoft.AspNetCore.Hosting.IWebHostBuilder builder);
abstract member ConfigureWebHost : Microsoft.AspNetCore.Hosting.IWebHostBuilder -> unit
override this.ConfigureWebHost : Microsoft.AspNetCore.Hosting.IWebHostBuilder -> unit
Protected Overridable Sub ConfigureWebHost (builder As IWebHostBuilder)

Paramètres

builder
IWebHostBuilder

IWebHostBuilder pour l’application.

S’applique à