Compartir a través de


ImmutableSortedDictionaryCodec<TKey,TValue> Clase

Definición

[Orleans.RegisterSerializer]
public sealed class ImmutableSortedDictionaryCodec<TKey,TValue> : Orleans.Serialization.Codecs.GeneralizedReferenceTypeSurrogateCodec<System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue>,Orleans.Serialization.Codecs.ImmutableSortedDictionarySurrogate<TKey,TValue>>
[<Orleans.RegisterSerializer>]
type ImmutableSortedDictionaryCodec<'Key, 'Value> = class
    inherit GeneralizedReferenceTypeSurrogateCodec<ImmutableSortedDictionary<'Key, 'Value>, ImmutableSortedDictionarySurrogate<'Key, 'Value>>
Public NotInheritable Class ImmutableSortedDictionaryCodec(Of TKey, TValue)
Inherits GeneralizedReferenceTypeSurrogateCodec(Of ImmutableSortedDictionary(Of TKey, TValue), ImmutableSortedDictionarySurrogate(Of TKey, TValue))

Parámetros de tipo

TKey

El tipo de clave.

TValue

Tipo de valor.

Herencia
ImmutableSortedDictionaryCodec<TKey,TValue>
Atributos

Constructores

ImmutableSortedDictionaryCodec<TKey,TValue>(IValueSerializer<ImmutableSortedDictionarySurrogate<TKey,TValue>>)

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

Métodos

ConvertFromSurrogate(ImmutableSortedDictionarySurrogate<TKey,TValue>)

Serializador para ImmutableSortedDictionary<TKey,TValue>.

ConvertFromSurrogate(TSurrogate)

Convierte un valor del tipo suplente en el tipo de campo.

(Heredado de GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(ImmutableSortedDictionary<TKey,TValue>, ImmutableSortedDictionarySurrogate<TKey,TValue>)

Serializador para ImmutableSortedDictionary<TKey,TValue>.

ConvertToSurrogate(TField, TSurrogate)

Convierte un valor en el tipo suplente.

(Heredado de GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ReadValue<TInput>(Reader<TInput>, Field)

Lee un valor.

(Heredado de GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, TField)

Escribe un campo.

(Heredado de GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)

Se aplica a