Compartir a través de


KeyValuePairCodec<TKey,TValue> Clase

Definición

Serializador para KeyValuePair<TKey,TValue>.

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

Parámetros de tipo

TKey

El tipo de clave.

TValue

Tipo de valor.

Herencia
KeyValuePairCodec<TKey,TValue>
Atributos
Implementaciones

Constructores

KeyValuePairCodec<TKey,TValue>(IFieldCodec<TKey>, IFieldCodec<TValue>)

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

Métodos

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

Lee un valor.

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

Escribe un campo.

Se aplica a