共用方式為


HostBuilderContext.Configuration 屬性

定義

IConfiguration 包含應用程式和主機的合併組態。

public Microsoft.Extensions.Configuration.IConfiguration Configuration { get; set; }
member this.Configuration : Microsoft.Extensions.Configuration.IConfiguration with get, set
Public Property Configuration As IConfiguration

屬性值

適用於