Redigera

Dela via


DictionaryBaseCodec<TKey,TValue> Class

Definition

Serializer for Dictionary<TKey,TValue>.

[Orleans.RegisterSerializer]
public sealed class DictionaryBaseCodec<TKey,TValue> : Orleans.Serialization.Serializers.IBaseCodec<System.Collections.Generic.Dictionary<TKey,TValue>>
[<Orleans.RegisterSerializer>]
type DictionaryBaseCodec<'Key, 'Value> = class
    interface IBaseCodec<Dictionary<'Key, 'Value>>
    interface IBaseCodec
Public NotInheritable Class DictionaryBaseCodec(Of TKey, TValue)
Implements IBaseCodec(Of Dictionary(Of TKey, TValue))

Type Parameters

TKey

The key type.

TValue

The value type.

Inheritance
DictionaryBaseCodec<TKey,TValue>
Attributes
Implements

Constructors

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

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

Explicit Interface Implementations

IBaseCodec<Dictionary<TKey,TValue>>.Deserialize<TInput>(Reader<TInput>, Dictionary<TKey,TValue>)
IBaseCodec<Dictionary<TKey,TValue>>.Serialize<TBufferWriter>(Writer<TBufferWriter>, Dictionary<TKey,TValue>)

Applies to