Compartir a través de


ConcurrentQueueCodec<T> Clase

Definición

Serializador para ConcurrentQueue<T>.

[Orleans.RegisterSerializer]
public sealed class ConcurrentQueueCodec<T> : Orleans.Serialization.Codecs.GeneralizedReferenceTypeSurrogateCodec<System.Collections.Concurrent.ConcurrentQueue<T>,Orleans.Serialization.Codecs.ConcurrentQueueSurrogate<T>>
[<Orleans.RegisterSerializer>]
type ConcurrentQueueCodec<'T> = class
    inherit GeneralizedReferenceTypeSurrogateCodec<ConcurrentQueue<'T>, ConcurrentQueueSurrogate<'T>>
Public NotInheritable Class ConcurrentQueueCodec(Of T)
Inherits GeneralizedReferenceTypeSurrogateCodec(Of ConcurrentQueue(Of T), ConcurrentQueueSurrogate(Of T))

Parámetros de tipo

T

El tipo de elemento.

Herencia
Atributos

Constructores

ConcurrentQueueCodec<T>(IValueSerializer<ConcurrentQueueSurrogate<T>>)

Inicializa una nueva instancia de la clase ConcurrentQueueCodec<T>.

Métodos

ConvertFromSurrogate(ConcurrentQueueSurrogate<T>)

Serializador para ConcurrentQueue<T>.

ConvertFromSurrogate(TSurrogate)

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

(Heredado de GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(ConcurrentQueue<T>, ConcurrentQueueSurrogate<T>)

Serializador para ConcurrentQueue<T>.

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