TestClusterBuilder.AddClientBuilderConfigurator<T> 方法

定义

添加 或 IHostConfiguratorIClientBuilderConfigurator实现,以配置为测试群集创建的客户端

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

类型参数

TClientBuilderConfigurator T

客户端生成器类型

客户端生成器类型

返回

生成器。

适用于