Partager via


TestClusterBuilder.AddSiloBuilderConfigurator<T> Méthode

Définition

Ajoute une implémentation de ISiloConfigurator ou IHostConfigurator pour configurer les silos créés par le cluster de test.

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

Paramètres de type

TSiloBuilderConfigurator T

Type configurateur.

Retours

Générateur.

S’applique à