Compartilhar via


ConcurrentQueueCodec<T> Classe

Definição

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

O tipo de elemento.

Herança
Atributos

Construtores

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

Inicializa uma nova instância da classe ConcurrentQueueCodec<T>.

Métodos

ConvertFromSurrogate(ConcurrentQueueSurrogate<T>)

Serializador para ConcurrentQueue<T>.

ConvertFromSurrogate(TSurrogate)

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

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

Serializador para ConcurrentQueue<T>.

ConvertToSurrogate(TField, TSurrogate)

Converte um valor no 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