Düzenle

Aracılığıyla paylaş


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>]
type ListCodec<'T> = class
    interface IFieldCodec<List<'T>>
    interface IFieldCodec
Public NotInheritable Class ListCodec(Of T)
Implements 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

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

Reads a value.

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

Writes a field.

Applies to