Skip to content

DictionaryBaseCodec<TKey, TValue> Constructors

Serializer for System.Collections.Generic.Dictionary.

DictionaryBaseCodec<TKey, TValue>(IFieldCodec<TKey>, IFieldCodec<TValue>, IFieldCodec<IEqualityComparer<TKey>>)

View source
public DictionaryBaseCodec<TKey, DictionaryBaseCodec(IFieldCodec<TKey> keyCodec, IFieldCodec<TValue> valueCodec, IFieldCodec<IEqualityComparer<TKey>> comparerCodec)
Initializes a new instance of the Orleans.Serialization.Codecs.DictionaryCodec class.

Parameters

keyCodecIFieldCodec<TKey>
The key codec.
valueCodecIFieldCodec<TValue>
The value codec.
comparerCodecIFieldCodec<IEqualityComparer<TKey>>
The comparer codec.