TestClusterBuilder.AddClientBuilderConfigurator<T> Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.