Compartilhar via


ImmutableListCodec<T> Classe

Definição

Serializador para ImmutableList<T>.

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

Parâmetros de tipo

T

O tipo de elemento.

Herança
Atributos

Construtores

ImmutableListCodec<T>(IValueSerializer<ImmutableListSurrogate<T>>)

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

Métodos

ConvertFromSurrogate(ImmutableListSurrogate<T>)

Serializador para ImmutableList<T>.

ConvertFromSurrogate(TSurrogate)

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

(Herdado de GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(ImmutableList<T>, ImmutableListSurrogate<T>)

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