Compartir a través de


ImmutableListCodec<T> Clase

Definición

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

El tipo de elemento.

Herencia
Atributos

Constructores

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

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

Métodos

ConvertFromSurrogate(ImmutableListSurrogate<T>)

Serializador para ImmutableList<T>.

ConvertFromSurrogate(TSurrogate)

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

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

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