Partager via


CollectionCodec<T> Classe

Définition

Sérialiseur pour 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))

Paramètres de type

T

Type de l’élément.

Héritage
CollectionCodec<T>
Attributs
Implémente

Constructeurs

CollectionCodec<T>(IFieldCodec<T>)

Initialise une nouvelle instance de la classe CollectionCodec<T>.

Méthodes

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

Sérialiseur pour Collection<T>.

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

Lit une valeur.

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

Sérialiseur pour Collection<T>.

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

Écrit un champ.

S’applique à