共用方式為


TestClusterExtensions.GetTestClusterOptions 方法

定義

多載

GetTestClusterOptions(IConfiguration)

取得測試叢集選項。

GetTestClusterOptions(IHostBuilder)

取得測試叢集選項。

GetTestClusterOptions(ISiloBuilder)
GetTestClusterOptions(ISiloHostBuilder)

GetTestClusterOptions(IConfiguration)

來源:
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)

來源:
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)

來源:
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

傳回

適用於