Freigeben über


TestCluster Konstruktoren

Definition

Überlädt

TestCluster()

Konfigurieren Sie den Standardmäßigen Primärtest-Silo sowie den Client in-Process.

TestCluster(ClusterConfiguration)

Konfiguriert den Testcluster plus Standardclient im Prozess.

TestCluster(TestClusterOptions)

Konfiguriert den Testcluster plus clientintern.

TestCluster(ClusterConfiguration, ClientConfiguration)

Konfiguriert den Testcluster plus clientinterne Konfigurationen mithilfe der angegebenen Silo- und Clientkonfigurationen.

TestCluster(TestClusterOptions, IReadOnlyList<IConfigurationSource>)

Konfiguriert den Testcluster plus clientintern.

TestCluster(TestClusterOptions, IReadOnlyList<IConfigurationSource>, ITestClusterPortAllocator)

Konfiguriert den Testcluster plus clientintern.

TestCluster()

Konfigurieren Sie den Standardmäßigen Primärtest-Silo sowie den Client in-Process.

public TestCluster ();
Public Sub New ()

Gilt für:

TestCluster(ClusterConfiguration)

Konfiguriert den Testcluster plus Standardclient im Prozess.

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

Parameter

clusterConfiguration
ClusterConfiguration

Gilt für:

TestCluster(TestClusterOptions)

Konfiguriert den Testcluster plus clientintern.

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

Parameter

Gilt für:

TestCluster(ClusterConfiguration, ClientConfiguration)

Konfiguriert den Testcluster plus clientinterne Konfigurationen mithilfe der angegebenen Silo- und Clientkonfigurationen.

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)

Parameter

clusterConfiguration
ClusterConfiguration
clientConfiguration
ClientConfiguration

Gilt für:

TestCluster(TestClusterOptions, IReadOnlyList<IConfigurationSource>)

Konfiguriert den Testcluster plus clientintern.

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))

Parameter

configurationSources
IReadOnlyList<IConfigurationSource>

Gilt für:

TestCluster(TestClusterOptions, IReadOnlyList<IConfigurationSource>, ITestClusterPortAllocator)

Quelle:
TestCluster.cs

Konfiguriert den Testcluster plus clientintern.

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)

Parameter

configurationSources
IReadOnlyList<IConfigurationSource>

Gilt für: