Compartir a través de


ReadOnlyDictionaryCodec<TKey,TValue> Clase

Definición

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

Parámetros de tipo

TKey
TValue
Herencia
ReadOnlyDictionaryCodec<TKey,TValue>
Atributos

Constructores

ReadOnlyDictionaryCodec<TKey,TValue>(IValueSerializer<ReadOnlyDictionarySurrogate<TKey,TValue>>)

Métodos

ConvertFromSurrogate(ReadOnlyDictionarySurrogate<TKey,TValue>)
ConvertFromSurrogate(TSurrogate)

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

(Heredado de GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(ReadOnlyDictionary<TKey,TValue>, ReadOnlyDictionarySurrogate<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