GrainClassMap 构造函数

定义

初始化 GrainClassMap 类的新实例。

public GrainClassMap (Orleans.Serialization.TypeSystem.TypeConverter typeConverter, System.Collections.Immutable.ImmutableDictionary<Orleans.Runtime.GrainType,Type> classes);
new Orleans.Metadata.GrainClassMap : Orleans.Serialization.TypeSystem.TypeConverter * System.Collections.Immutable.ImmutableDictionary<Orleans.Runtime.GrainType, Type> -> Orleans.Metadata.GrainClassMap
Public Sub New (typeConverter As TypeConverter, classes As ImmutableDictionary(Of GrainType, Type))

参数

typeConverter
TypeConverter

类型转换器。

classes
ImmutableDictionary<GrainType,Type>

grain 类。

适用于