Skip to content

TestCluster Properties

A host class for local testing with Orleans using in-process silos. Runs a Primary and optionally secondary silos in separate app domains, and client in the main app domain. Additional silos can also be started in-process on demand if required for particular test cases.

ConfigurationSources

get
View source
public IReadOnlyList<IConfigurationSource> ConfigurationSources
Gets the configuration sources.

Property value

The configuration sources.

CreateSiloAsync

set
View source
public Func<string, IConfiguration, Task<SiloHandle>> CreateSiloAsync
Delegate used to create and start an individual silo.

Options

get
View source
public TestClusterOptions Options
Options used to configure the test cluster.

Silos

get
View source
public ReadOnlyCollection<SiloHandle> Silos
Collection of all known silos.