TestClusterBuilder.AddClientBuilderConfigurator<T> 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
添加 或 IHostConfigurator 的IClientBuilderConfigurator实现,以配置为测试群集创建的客户端
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
客户端生成器类型
客户端生成器类型
返回
生成器。