HashSetCodec<T> 构造函数

定义

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

public HashSetCodec (Orleans.Serialization.Codecs.IFieldCodec<T> fieldCodec, Orleans.Serialization.Codecs.IFieldCodec<System.Collections.Generic.IEqualityComparer<T>> comparerCodec);
new Orleans.Serialization.Codecs.HashSetCodec<'T> : Orleans.Serialization.Codecs.IFieldCodec<'T> * Orleans.Serialization.Codecs.IFieldCodec<System.Collections.Generic.IEqualityComparer<'T>> -> Orleans.Serialization.Codecs.HashSetCodec<'T>
Public Sub New (fieldCodec As IFieldCodec(Of T), comparerCodec As IFieldCodec(Of IEqualityComparer(Of T)))

参数

fieldCodec
IFieldCodec<T>

字段编解码器。

comparerCodec
IFieldCodec<IEqualityComparer<T>>

比较器编解码器。

适用于