TestClusterBuilder.AddSiloBuilderConfigurator<T> 方法

定义

添加 或 IHostConfiguratorISiloConfigurator实现,以配置由测试群集创建的 silo。

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

类型参数

TSiloBuilderConfigurator T

配置器类型。

返回

生成器。

适用于