Redigera

Dela via


DictionaryBaseCodec<TKey,TValue> Constructor

Definition

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

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

Parameters

keyCodec
IFieldCodec<TKey>

The key codec.

valueCodec
IFieldCodec<TValue>

The value codec.

comparerCodec
IFieldCodec<IEqualityComparer<TKey>>

The comparer codec.

Applies to