Edit

Share via


TestClusterBuilder.AddSiloBuilderConfigurator<T> Method

Definition

Adds an implementation of ISiloConfigurator or IHostConfigurator to configure silos created by the test cluster.

public void AddSiloBuilderConfigurator<TSiloBuilderConfigurator> () where TSiloBuilderConfigurator : Orleans.TestingHost.ISiloBuilderConfigurator, new();
public Orleans.TestingHost.TestClusterBuilder AddSiloBuilderConfigurator<T> () where T : new();
member this.AddSiloBuilderConfigurator : unit -> unit (requires 'SiloBuilderConfigurator :> Orleans.TestingHost.ISiloBuilderConfigurator and 'SiloBuilderConfigurator : (new : unit -> 'SiloBuilderConfigurator))
member this.AddSiloBuilderConfigurator : unit -> Orleans.TestingHost.TestClusterBuilder (requires 'T : (new : unit -> 'T))
Public Sub AddSiloBuilderConfigurator(Of TSiloBuilderConfigurator As {ISiloBuilderConfiguratorNew}) ()
Public Function AddSiloBuilderConfigurator(Of T As New) () As TestClusterBuilder

Type Parameters

TSiloBuilderConfigurator T

The configurator type.

Returns

The builder.

Applies to