GrainBindings 构造函数

定义

初始化 GrainBindings 类的新实例。

public GrainBindings (Orleans.Runtime.GrainType grainType, System.Collections.Immutable.ImmutableArray<System.Collections.Immutable.ImmutableDictionary<string,string>> bindings);
new Orleans.Metadata.GrainBindings : Orleans.Runtime.GrainType * System.Collections.Immutable.ImmutableArray<System.Collections.Immutable.ImmutableDictionary<string, string>> -> Orleans.Metadata.GrainBindings
Public Sub New (grainType As GrainType, bindings As ImmutableArray(Of ImmutableDictionary(Of String, String)))

参数

grainType
GrainType

粒度类型。

bindings
ImmutableArray<ImmutableDictionary<String,String>>

指定粒度类型的绑定。

适用于