WebApplicationFactory<TEntryPoint>.ConfigureWebHost Metodo

Definizione

Offre a una fixture l'opportunità di configurare l'applicazione prima che venga compilata.

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)

Parametri

builder
IWebHostBuilder

Oggetto IWebHostBuilder per l'applicazione.

Si applica a