Partager via


HashSetCodec<T> Constructeur

Définition

Initialise une nouvelle instance de la classe 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)))

Paramètres

fieldCodec
IFieldCodec<T>

Codec de champ.

comparerCodec
IFieldCodec<IEqualityComparer<T>>

Codec du comparateur.

S’applique à