TestClusterOptions 构造函数

定义

重载

TestClusterOptions()

Initializes a new instance of TestClusterOptions using the default ExtendedFallbackOptions specified by DefaultExtendedConfiguration.

TestClusterOptions(IConfiguration)

初始化使用指定配置的新实例 TestClusterOptions

TestClusterOptions(TestClusterOptions+FallbackOptions)

初始化 TestClusterOptions 的新实例。

TestClusterOptions(Int16)

初始化重写初始接收器计数并使用指定的DefaultExtendedConfiguration默认值ExtendedFallbackOptions的新实例TestClusterOptions

TestClusterOptions()

Source:
TestClusterOptions.cs

Initializes a new instance of TestClusterOptions using the default ExtendedFallbackOptions specified by DefaultExtendedConfiguration.

public TestClusterOptions ();
Public Sub New ()

适用于

TestClusterOptions(IConfiguration)

初始化使用指定配置的新实例 TestClusterOptions

public TestClusterOptions (Microsoft.Extensions.Configuration.IConfiguration extendedConfiguration);
new Orleans.TestingHost.TestClusterOptions : Microsoft.Extensions.Configuration.IConfiguration -> Orleans.TestingHost.TestClusterOptions
Public Sub New (extendedConfiguration As IConfiguration)

参数

extendedConfiguration
IConfiguration

可以绑定到实例的配置 ExtendedFallbackOptions

适用于

TestClusterOptions(TestClusterOptions+FallbackOptions)

初始化 TestClusterOptions 的新实例。

public TestClusterOptions (Orleans.TestingHost.TestClusterOptions.FallbackOptions extendedFallbackOptions);
new Orleans.TestingHost.TestClusterOptions : Orleans.TestingHost.TestClusterOptions.FallbackOptions -> Orleans.TestingHost.TestClusterOptions
Public Sub New (extendedFallbackOptions As TestClusterOptions.FallbackOptions)

参数

extendedFallbackOptions
TestClusterOptions.FallbackOptions

在未显式指定 ClusterConfiguration回退选项时要使用的回退选项。

适用于

TestClusterOptions(Int16)

初始化重写初始接收器计数并使用指定的DefaultExtendedConfiguration默认值ExtendedFallbackOptions的新实例TestClusterOptions

public TestClusterOptions (short initialSilosCount);
new Orleans.TestingHost.TestClusterOptions : int16 -> Orleans.TestingHost.TestClusterOptions
Public Sub New (initialSilosCount As Short)

参数

initialSilosCount
Int16

要部署的初始孤岛数。

适用于