Compartilhar via


ListCodec<T> Classe

Definição

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

Parâmetros de tipo

T

O tipo de elemento.

Herança
ListCodec<T>
Atributos
Implementações

Construtores

ListCodec<T>(IFieldCodec<T>)

Inicializa uma nova instância da classe ListCodec<T>.

Métodos

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

Serializador para List<T>.

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

Lê um valor.

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

Serializador para List<T>.

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

Grava um campo.

Aplica-se a