Redigera

Dela via


KeyValuePairCodec<TKey,TValue> Constructor

Definition

Initializes a new instance of the KeyValuePairCodec<TKey,TValue> class.

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))

Parameters

keyCodec
IFieldCodec<TKey>

The key codec.

valueCodec
IFieldCodec<TValue>

The value codec.

Applies to