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