Compartilhar via


TestCluster Construtores

Definição

Sobrecargas

TestCluster()

Configure o silo de teste primário padrão, além do cliente em processo.

TestCluster(ClusterConfiguration)

Configura o cluster de teste mais o cliente padrão em processo.

TestCluster(TestClusterOptions)

Configura o cluster de teste mais o cliente em processo.

TestCluster(ClusterConfiguration, ClientConfiguration)

Configura o cluster de teste mais o cliente em processo, usando as configurações de silo e de cliente especificadas.

TestCluster(TestClusterOptions, IReadOnlyList<IConfigurationSource>)

Configura o cluster de teste mais o cliente em processo.

TestCluster(TestClusterOptions, IReadOnlyList<IConfigurationSource>, ITestClusterPortAllocator)

Configura o cluster de teste mais o cliente em processo.

TestCluster()

Configure o silo de teste primário padrão, além do cliente em processo.

public TestCluster ();
Public Sub New ()

Aplica-se a

TestCluster(ClusterConfiguration)

Configura o cluster de teste mais o cliente padrão em processo.

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

Parâmetros

clusterConfiguration
ClusterConfiguration

Aplica-se a

TestCluster(TestClusterOptions)

Configura o cluster de teste mais o cliente em processo.

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

Parâmetros

Aplica-se a

TestCluster(ClusterConfiguration, ClientConfiguration)

Configura o cluster de teste mais o cliente em processo, usando as configurações de silo e de cliente especificadas.

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)

Parâmetros

clusterConfiguration
ClusterConfiguration
clientConfiguration
ClientConfiguration

Aplica-se a

TestCluster(TestClusterOptions, IReadOnlyList<IConfigurationSource>)

Configura o cluster de teste mais o cliente em processo.

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

Parâmetros

configurationSources
IReadOnlyList<IConfigurationSource>

Aplica-se a

TestCluster(TestClusterOptions, IReadOnlyList<IConfigurationSource>, ITestClusterPortAllocator)

Origem:
TestCluster.cs

Configura o cluster de teste mais o cliente em processo.

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)

Parâmetros

configurationSources
IReadOnlyList<IConfigurationSource>

Aplica-se a