Compartilhar via


WebApplicationFactory<TEntryPoint>.ConfigureWebHost Método

Definição

Dá a um acessório a oportunidade de configurar o aplicativo antes que ele seja criado.

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)

Parâmetros

builder
IWebHostBuilder

O IWebHostBuilder para o aplicativo.

Aplica-se a