TestClusterExtensions.GetConfiguration 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetConfiguration(IHostBuilder) |
從指定的主機產生器取得組態。 |
GetConfiguration(ISiloBuilder) | |
GetConfiguration(ISiloHostBuilder) |
GetConfiguration(IHostBuilder)
從指定的主機產生器取得組態。
public static Microsoft.Extensions.Configuration.IConfiguration GetConfiguration (this Microsoft.Extensions.Hosting.IHostBuilder builder);
static member GetConfiguration : Microsoft.Extensions.Hosting.IHostBuilder -> Microsoft.Extensions.Configuration.IConfiguration
<Extension()>
Public Function GetConfiguration (builder As IHostBuilder) As IConfiguration
參數
- builder
- IHostBuilder
產生器。
傳回
適用於
GetConfiguration(ISiloBuilder)
public static Microsoft.Extensions.Configuration.IConfiguration GetConfiguration (this Orleans.Hosting.ISiloBuilder siloBuilder);
static member GetConfiguration : Orleans.Hosting.ISiloBuilder -> Microsoft.Extensions.Configuration.IConfiguration
<Extension()>
Public Function GetConfiguration (siloBuilder As ISiloBuilder) As IConfiguration
參數
- siloBuilder
- ISiloBuilder
傳回
適用於
GetConfiguration(ISiloHostBuilder)
public static Microsoft.Extensions.Configuration.IConfiguration GetConfiguration (this Orleans.Hosting.ISiloHostBuilder hostBuilder);
static member GetConfiguration : Orleans.Hosting.ISiloHostBuilder -> Microsoft.Extensions.Configuration.IConfiguration
<Extension()>
Public Function GetConfiguration (hostBuilder As ISiloHostBuilder) As IConfiguration
參數
- hostBuilder
- ISiloHostBuilder