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)
- Source:
- TestClusterExtensions.cs
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)
- Source:
- TestClusterExtensions.cs
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