Redigera

Dela via


ListCodec<T> Class

Definition

Serializer for 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))

Type Parameters

T

The element type.

Inheritance
ListCodec<T>
Attributes
Implements

Constructors

ListCodec<T>(IFieldCodec<T>)

Initializes a new instance of the ListCodec<T> class.

Methods

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

Reads a value.

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

Writes a field.

Applies to