TestClusterExtensions.GetTestClusterOptions 方法

定义

重载

GetTestClusterOptions(IConfiguration)

获取测试群集选项。

GetTestClusterOptions(IHostBuilder)

获取测试群集选项。

GetTestClusterOptions(ISiloBuilder)
GetTestClusterOptions(ISiloHostBuilder)

GetTestClusterOptions(IConfiguration)

Source:
TestClusterExtensions.cs

获取测试群集选项。

public static Orleans.TestingHost.TestClusterOptions GetTestClusterOptions (this Microsoft.Extensions.Configuration.IConfiguration config);
static member GetTestClusterOptions : Microsoft.Extensions.Configuration.IConfiguration -> Orleans.TestingHost.TestClusterOptions
<Extension()>
Public Function GetTestClusterOptions (config As IConfiguration) As TestClusterOptions

参数

config
IConfiguration

配置。

返回

测试群集选项。

适用于

GetTestClusterOptions(IHostBuilder)

获取测试群集选项。

public static Orleans.TestingHost.TestClusterOptions GetTestClusterOptions (this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder);
static member GetTestClusterOptions : Microsoft.Extensions.Hosting.IHostBuilder -> Orleans.TestingHost.TestClusterOptions
<Extension()>
Public Function GetTestClusterOptions (hostBuilder As IHostBuilder) As TestClusterOptions

参数

hostBuilder
IHostBuilder

主机生成器。

返回

测试群集选项。

适用于

GetTestClusterOptions(ISiloBuilder)

Source:
TestClusterExtensions.cs
public static Orleans.TestingHost.TestClusterOptions GetTestClusterOptions (this Orleans.Hosting.ISiloBuilder hostBuilder);
static member GetTestClusterOptions : Orleans.Hosting.ISiloBuilder -> Orleans.TestingHost.TestClusterOptions
<Extension()>
Public Function GetTestClusterOptions (hostBuilder As ISiloBuilder) As TestClusterOptions

参数

hostBuilder
ISiloBuilder

返回

适用于

GetTestClusterOptions(ISiloHostBuilder)

Source:
TestClusterExtensions.cs
public static Orleans.TestingHost.TestClusterOptions GetTestClusterOptions (this Orleans.Hosting.ISiloHostBuilder hostBuilder);
static member GetTestClusterOptions : Orleans.Hosting.ISiloHostBuilder -> Orleans.TestingHost.TestClusterOptions
<Extension()>
Public Function GetTestClusterOptions (hostBuilder As ISiloHostBuilder) As TestClusterOptions

参数

hostBuilder
ISiloHostBuilder

返回

适用于