Compartir a través de


ConcurrentDictionaryCodec<TKey,TValue> Clase

Definición

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

Parámetros de tipo

TKey

Tipo de la clave t.

TValue

Tipo del valor t.

Herencia
ConcurrentDictionaryCodec<TKey,TValue>
Atributos

Constructores

ConcurrentDictionaryCodec<TKey,TValue>(IValueSerializer<ConcurrentDictionarySurrogate<TKey,TValue>>)

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

Métodos

ConvertFromSurrogate(ConcurrentDictionarySurrogate<TKey,TValue>)

Serializador para ConcurrentDictionary<TKey,TValue>.

ConvertFromSurrogate(TSurrogate)

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

(Heredado de GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(ConcurrentDictionary<TKey,TValue>, ConcurrentDictionarySurrogate<TKey,TValue>)

Serializador para ConcurrentDictionary<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