Compartilhar via


ImmutableQueueCodec<T> Classe

Definição

Serializador para ImmutableQueue<T>.

[Orleans.RegisterSerializer]
public sealed class ImmutableQueueCodec<T> : Orleans.Serialization.Codecs.GeneralizedReferenceTypeSurrogateCodec<System.Collections.Immutable.ImmutableQueue<T>,Orleans.Serialization.Codecs.ImmutableQueueSurrogate<T>>
[<Orleans.RegisterSerializer>]
type ImmutableQueueCodec<'T> = class
    inherit GeneralizedReferenceTypeSurrogateCodec<ImmutableQueue<'T>, ImmutableQueueSurrogate<'T>>
Public NotInheritable Class ImmutableQueueCodec(Of T)
Inherits GeneralizedReferenceTypeSurrogateCodec(Of ImmutableQueue(Of T), ImmutableQueueSurrogate(Of T))

Parâmetros de tipo

T

O tipo de elemento.

Herança
Atributos

Construtores

ImmutableQueueCodec<T>(IValueSerializer<ImmutableQueueSurrogate<T>>)

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

Métodos

ConvertFromSurrogate(ImmutableQueueSurrogate<T>)

Serializador para ImmutableQueue<T>.

ConvertFromSurrogate(TSurrogate)

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

(Herdado de GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(ImmutableQueue<T>, ImmutableQueueSurrogate<T>)

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