TestClusterBuilder.AddSiloBuilderConfigurator<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.