Partilhar via


CollectionCodec<T> Classe

Definição

Serializador para Collection<T>.

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

Parâmetros de tipo

T

O tipo de elemento.

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

Construtores

CollectionCodec<T>(IFieldCodec<T>)

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

Métodos

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

Serializador para Collection<T>.

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

Lê um valor.

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

Serializador para Collection<T>.

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

Grava um campo.

Aplica-se a