Partager via


TestClusterBuilder.AddClientBuilderConfigurator<T> Méthode

Définition

Ajoute une implémentation de IClientBuilderConfigurator ou IHostConfigurator pour configurer le client créé pour le cluster de test

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

Paramètres de type

TClientBuilderConfigurator T

Type de générateur de client

Type de générateur de client

Retours

Générateur.

S’applique à