Edit

Share via


DictionaryCodec<TKey,TValue> Constructor

Definition

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

public DictionaryCodec (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.DictionaryCodec<'Key, 'Value> : Orleans.Serialization.Codecs.IFieldCodec<'Key> * Orleans.Serialization.Codecs.IFieldCodec<'Value> * Orleans.Serialization.Codecs.IFieldCodec<System.Collections.Generic.IEqualityComparer<'Key>> -> Orleans.Serialization.Codecs.DictionaryCodec<'Key, 'Value>
Public Sub New (keyCodec As IFieldCodec(Of TKey), valueCodec As IFieldCodec(Of TValue), comparerCodec As IFieldCodec(Of IEqualityComparer(Of TKey)))

Parameters

keyCodec
IFieldCodec<TKey>

The key codec.

valueCodec
IFieldCodec<TValue>

The value codec.

comparerCodec
IFieldCodec<IEqualityComparer<TKey>>

The comparer codec.

Applies to