Partager via


KeyValuePairCodec<TKey,TValue> Constructeur

Définition

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

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

Paramètres

keyCodec
IFieldCodec<TKey>

Codec de clé.

valueCodec
IFieldCodec<TValue>

Codec de valeur.

S’applique à