Compartir a través de


DictionaryCodec<TKey,TValue> Clase

Definición

Serializador para Dictionary<TKey,TValue>.

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

Parámetros de tipo

TKey

El tipo de clave.

TValue

Tipo de valor.

Herencia
DictionaryCodec<TKey,TValue>
Atributos
Implementaciones

Constructores

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

Inicializa una nueva instancia de la clase DictionaryCodec<TKey,TValue>.

Métodos

ReadValue<TInput>(Reader<TInput>, Field)

Lee un valor.

WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, Dictionary<TKey,TValue>)

Escribe un campo.

Se aplica a