共用方式為


IHostConfigurator.Configure(IHostBuilder) 方法

定義

設定主機產生器。

public void Configure (Microsoft.Extensions.Hosting.IHostBuilder hostBuilder);
abstract member Configure : Microsoft.Extensions.Hosting.IHostBuilder -> unit
Public Sub Configure (hostBuilder As IHostBuilder)

參數

hostBuilder
IHostBuilder

主機產生器。

適用於