# TestClusterBuilder

Package: [Microsoft.Orleans.TestingHost](/orleans/docs/api/csharp/microsoft.orleans.testinghost/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.TestingHost) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/TestClusterBuilder.cs#L17)

```csharp
public class TestClusterBuilder
```

Configuration builder for starting a [TestCluster](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testcluster/).

## Constructors

- [TestClusterBuilder](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusterbuilder/constructors/constructor-b43f0613/)
- [TestClusterBuilder(short)](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusterbuilder/constructors/constructor-short-7eafe9f2/)

## Properties

- [CreateSiloAsync](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusterbuilder/properties/createsiloasync-e772b300/)
- [Options](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusterbuilder/properties/options-fd2c39ed/)
- [PortAllocator](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusterbuilder/properties/portallocator-06ebb1c0/)
- [Properties](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusterbuilder/properties/properties-5a8eaefa/)

## Methods

- [AddClientBuilderConfigurator](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusterbuilder/methods/addclientbuilderconfigurator-1-b0df02d3/)
- [AddSiloBuilderConfigurator](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusterbuilder/methods/addsilobuilderconfigurator-1-3c058571/)
- [Build](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusterbuilder/methods/build-a68fb80a/)
- [ConfigureBuilder(Action)](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusterbuilder/methods/configurebuilder-system-action-efbb51eb/)
- [ConfigureHostConfiguration(Action&lt;IConfigurationBuilder&gt;)](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusterbuilder/methods/configurehostconfiguration-system-action-microsoft-extensions-configuration-icon-85a97d34/)
- [CreateClusterId](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.testclusterbuilder/methods/createclusterid-2be173ee/)
