Freigeben über


ListCodec<T> Klasse

Definition

Serialisierer für List<T>.

[Orleans.RegisterSerializer]
public sealed class ListCodec<T> : Orleans.Serialization.Codecs.IFieldCodec<System.Collections.Generic.List<T>>
[Orleans.RegisterSerializer]
public sealed class ListCodec<T> : Orleans.Serialization.Codecs.IFieldCodec<System.Collections.Generic.List<T>>, Orleans.Serialization.Serializers.IBaseCodec<System.Collections.Generic.List<T>>
[<Orleans.RegisterSerializer>]
type ListCodec<'T> = class
    interface IFieldCodec<List<'T>>
    interface IFieldCodec
[<Orleans.RegisterSerializer>]
type ListCodec<'T> = class
    interface IFieldCodec<List<'T>>
    interface IFieldCodec
    interface IBaseCodec<List<'T>>
    interface IBaseCodec
Public NotInheritable Class ListCodec(Of T)
Implements IFieldCodec(Of List(Of T))
Public NotInheritable Class ListCodec(Of T)
Implements IBaseCodec(Of List(Of T)), IFieldCodec(Of List(Of T))

Typparameter

T

Der Elementtyp.

Vererbung
ListCodec<T>
Attribute
Implementiert

Konstruktoren

ListCodec<T>(IFieldCodec<T>)

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

Methoden

Deserialize<TInput>(Reader<TInput>, List<T>)

Serialisierer für List<T>.

ReadValue<TInput>(Reader<TInput>, Field)

Liest einen Wert.

Serialize<TBufferWriter>(Writer<TBufferWriter>, List<T>)

Serialisierer für List<T>.

WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, List<T>)

Schreibt ein Feld.

Gilt für: