Freigeben über


ImmutableStackCodec<T> Klasse

Definition

Serialisierungsprogramm für 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))

Typparameter

T

Der Elementtyp.

Vererbung
Attribute

Konstruktoren

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

Initialisiert eine neue Instanz der ImmutableStackCodec<T>-Klasse.

Methoden

ConvertFromSurrogate(ImmutableStackSurrogate<T>)

Serialisierungsprogramm für ImmutableStack<T>.

ConvertFromSurrogate(TSurrogate)

Konvertiert einen Wert vom Ersatztyp in den Feldtyp.

(Geerbt von GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(ImmutableStack<T>, ImmutableStackSurrogate<T>)

Serialisierungsprogramm für ImmutableStack<T>.

ConvertToSurrogate(TField, TSurrogate)

Konvertiert einen Wert in den Ersatztyp.

(Geerbt von GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ReadValue<TInput>(Reader<TInput>, Field)

Liest einen Wert.

(Geerbt von GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, TField)

Schreibt ein Feld.

(Geerbt von GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)

Gilt für: