Edit

Share via


TestClusterBuilder.AddClientBuilderConfigurator<T> Method

Definition

Adds an implementation of IClientBuilderConfigurator or IHostConfigurator to configure the client created for the test cluster

public void AddClientBuilderConfigurator<TClientBuilderConfigurator> () where TClientBuilderConfigurator : Orleans.TestingHost.IClientBuilderConfigurator, new();
public Orleans.TestingHost.TestClusterBuilder AddClientBuilderConfigurator<TClientBuilderConfigurator> () where TClientBuilderConfigurator : Orleans.TestingHost.IClientBuilderConfigurator, new();
public Orleans.TestingHost.TestClusterBuilder AddClientBuilderConfigurator<T> () where T : new();
member this.AddClientBuilderConfigurator : unit -> unit (requires 'ClientBuilderConfigurator :> Orleans.TestingHost.IClientBuilderConfigurator and 'ClientBuilderConfigurator : (new : unit -> 'ClientBuilderConfigurator))
member this.AddClientBuilderConfigurator : unit -> Orleans.TestingHost.TestClusterBuilder (requires 'ClientBuilderConfigurator :> Orleans.TestingHost.IClientBuilderConfigurator and 'ClientBuilderConfigurator : (new : unit -> 'ClientBuilderConfigurator))
member this.AddClientBuilderConfigurator : unit -> Orleans.TestingHost.TestClusterBuilder (requires 'T : (new : unit -> 'T))
Public Sub AddClientBuilderConfigurator(Of TClientBuilderConfigurator As {IClientBuilderConfiguratorNew}) ()
Public Function AddClientBuilderConfigurator(Of TClientBuilderConfigurator As {IClientBuilderConfiguratorNew}) () As TestClusterBuilder
Public Function AddClientBuilderConfigurator(Of T As New) () As TestClusterBuilder

Type Parameters

TClientBuilderConfigurator T

The client builder type

The client builder type

Returns

The builder.

Applies to