Edytuj

Udostępnij za pośrednictwem


TestCluster Constructors

Definition

Overloads

TestCluster()

Configure the default Primary test silo, plus client in-process.

TestCluster(ClusterConfiguration)

Configures the test cluster plus default client in-process.

TestCluster(TestClusterOptions)

Configures the test cluster plus client in-process.

TestCluster(ClusterConfiguration, ClientConfiguration)

Configures the test cluster plus client in-process, using the specified silo and client config configurations.

TestCluster(TestClusterOptions, IReadOnlyList<IConfigurationSource>)

Configures the test cluster plus client in-process.

TestCluster(TestClusterOptions, IReadOnlyList<IConfigurationSource>, ITestClusterPortAllocator)

Configures the test cluster plus client in-process.

TestCluster()

Configure the default Primary test silo, plus client in-process.

public TestCluster ();
Public Sub New ()

Applies to

TestCluster(ClusterConfiguration)

Configures the test cluster plus default client in-process.

public TestCluster (Orleans.Runtime.Configuration.ClusterConfiguration clusterConfiguration);
new Orleans.TestingHost.TestCluster : Orleans.Runtime.Configuration.ClusterConfiguration -> Orleans.TestingHost.TestCluster
Public Sub New (clusterConfiguration As ClusterConfiguration)

Parameters

clusterConfiguration
ClusterConfiguration

Applies to

TestCluster(TestClusterOptions)

Configures the test cluster plus client in-process.

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

Parameters

Applies to

TestCluster(ClusterConfiguration, ClientConfiguration)

Configures the test cluster plus client in-process, using the specified silo and client config configurations.

public TestCluster (Orleans.Runtime.Configuration.ClusterConfiguration clusterConfiguration, Orleans.Runtime.Configuration.ClientConfiguration clientConfiguration);
new Orleans.TestingHost.TestCluster : Orleans.Runtime.Configuration.ClusterConfiguration * Orleans.Runtime.Configuration.ClientConfiguration -> Orleans.TestingHost.TestCluster
Public Sub New (clusterConfiguration As ClusterConfiguration, clientConfiguration As ClientConfiguration)

Parameters

clusterConfiguration
ClusterConfiguration
clientConfiguration
ClientConfiguration

Applies to

TestCluster(TestClusterOptions, IReadOnlyList<IConfigurationSource>)

Configures the test cluster plus client in-process.

public TestCluster (Orleans.TestingHost.TestClusterOptions options, System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.Configuration.IConfigurationSource> configurationSources);
new Orleans.TestingHost.TestCluster : Orleans.TestingHost.TestClusterOptions * System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.Configuration.IConfigurationSource> -> Orleans.TestingHost.TestCluster
Public Sub New (options As TestClusterOptions, configurationSources As IReadOnlyList(Of IConfigurationSource))

Parameters

configurationSources
IReadOnlyList<IConfigurationSource>

Applies to

TestCluster(TestClusterOptions, IReadOnlyList<IConfigurationSource>, ITestClusterPortAllocator)

Source:
TestCluster.cs

Configures the test cluster plus client in-process.

public TestCluster (Orleans.TestingHost.TestClusterOptions options, System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.Configuration.IConfigurationSource> configurationSources, Orleans.TestingHost.ITestClusterPortAllocator portAllocator);
new Orleans.TestingHost.TestCluster : Orleans.TestingHost.TestClusterOptions * System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.Configuration.IConfigurationSource> * Orleans.TestingHost.ITestClusterPortAllocator -> Orleans.TestingHost.TestCluster
Public Sub New (options As TestClusterOptions, configurationSources As IReadOnlyList(Of IConfigurationSource), portAllocator As ITestClusterPortAllocator)

Parameters

configurationSources
IReadOnlyList<IConfigurationSource>

Applies to