DictionaryCodec<TKey,TValue> Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.