Partilhar via


ImmutableStackCodec<T> Classe

Definição

Serializador para ImmutableStack<T>.

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

Parâmetros de tipo

T

O tipo de elemento.

Herança
Atributos

Construtores

ImmutableStackCodec<T>(IValueSerializer<ImmutableStackSurrogate<T>>)

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

Métodos

ConvertFromSurrogate(ImmutableStackSurrogate<T>)

Serializador para ImmutableStack<T>.

ConvertFromSurrogate(TSurrogate)

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

(Herdado de GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(ImmutableStack<T>, ImmutableStackSurrogate<T>)

Serializador para ImmutableStack<T>.

ConvertToSurrogate(TField, TSurrogate)

Converte um valor para o 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