Edytuj

Udostępnij za pośrednictwem


CollectionCodec<T> Class

Definition

Serializer for Collection<T>.

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

Type Parameters

T

The element type.

Inheritance
CollectionCodec<T>
Attributes
Implements

Constructors

CollectionCodec<T>(IFieldCodec<T>)

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

Methods

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

Reads a value.

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

Writes a field.

Applies to