ValueSerializer<TField,TValueSerializer>(TValueSerializer) 构造函数

定义

初始化 ValueSerializer<TField,TValueSerializer> 类的新实例。

public ValueSerializer (TValueSerializer serializer);
new Orleans.Serialization.Serializers.ValueSerializer<'Field, 'ValueSerializer (requires 'Field : struct and 'ValueSerializer :> Orleans.Serialization.Serializers.IValueSerializer<'Field>)> : 'ValueSerializer -> Orleans.Serialization.Serializers.ValueSerializer<'Field, 'ValueSerializer (requires 'Field : struct and 'ValueSerializer :> Orleans.Serialization.Serializers.IValueSerializer<'Field>)>
Public Sub New (serializer As TValueSerializer)

参数

serializer
TValueSerializer

序列化程序。

适用于