Partager via


DictionaryBaseCodec<TKey,TValue> Constructeur

Définition

Initialise une nouvelle instance de la classe DictionaryCodec<TKey,TValue>.

public DictionaryBaseCodec (Orleans.Serialization.Codecs.IFieldCodec<TKey> keyCodec, Orleans.Serialization.Codecs.IFieldCodec<TValue> valueCodec, Orleans.Serialization.Codecs.IFieldCodec<System.Collections.Generic.IEqualityComparer<TKey>> comparerCodec);
new Orleans.Serialization.Codecs.DictionaryBaseCodec<'Key, 'Value> : Orleans.Serialization.Codecs.IFieldCodec<'Key> * Orleans.Serialization.Codecs.IFieldCodec<'Value> * Orleans.Serialization.Codecs.IFieldCodec<System.Collections.Generic.IEqualityComparer<'Key>> -> Orleans.Serialization.Codecs.DictionaryBaseCodec<'Key, 'Value>
Public Sub New (keyCodec As IFieldCodec(Of TKey), valueCodec As IFieldCodec(Of TValue), comparerCodec As IFieldCodec(Of IEqualityComparer(Of TKey)))

Paramètres

keyCodec
IFieldCodec<TKey>

Codec de clé.

valueCodec
IFieldCodec<TValue>

Codec de valeur.

comparerCodec
IFieldCodec<IEqualityComparer<TKey>>

Codec du comparateur.

S’applique à