WebApplicationFactory<TEntryPoint>.ConfigureWebHost Yöntem

Tanım

Uygulamayı oluşturulmadan önce yapılandırmak için bir fikstür sağlar.

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)

Parametreler

builder
IWebHostBuilder

IWebHostBuilder Uygulamanın için.

Şunlara uygulanır