Compartilhar via


ImmutableSortedDictionaryCodec<TKey,TValue> Classe

Definição

[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

O tipo principal.

TValue

O tipo de valor.

Herança
ImmutableSortedDictionaryCodec<TKey,TValue>
Atributos

Construtores

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

Inicializa uma nova instância da classe ImmutableSortedDictionaryCodec<TKey,TValue>.

Métodos

ConvertFromSurrogate(ImmutableSortedDictionarySurrogate<TKey,TValue>)

Serializador para ImmutableSortedDictionary<TKey,TValue>.

ConvertFromSurrogate(TSurrogate)

Converte um valor do tipo alternativo para o tipo de campo.

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

Serializador para ImmutableSortedDictionary<TKey,TValue>.

ConvertToSurrogate(TField, TSurrogate)

Converte um valor para o tipo alternativo.

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

Lê um valor.

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

Grava um campo.

(Herdado de GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)

Aplica-se a