NullableCodec<T>(IFieldCodec<T>) 构造函数

定义

初始化 NullableCodec<T> 类的新实例。

public NullableCodec(Orleans.Serialization.Codecs.IFieldCodec<T> fieldCodec);
new Orleans.Serialization.Codecs.NullableCodec<'T (requires 'T : struct)> : Orleans.Serialization.Codecs.IFieldCodec<'T (requires 'T : struct)> -> Orleans.Serialization.Codecs.NullableCodec<'T (requires 'T : struct)>
Public Sub New (fieldCodec As IFieldCodec(Of T))

参数

fieldCodec
IFieldCodec<T>

字段编解码器。

适用于