Edit

Share via


TypeSerializerCodec Class

Definition

Serialzier for Type.

[Orleans.RegisterSerializer]
public sealed class TypeSerializerCodec : Orleans.Serialization.Codecs.IDerivedTypeCodec, Orleans.Serialization.Codecs.IFieldCodec<Type>
[<Orleans.RegisterSerializer>]
type TypeSerializerCodec = class
    interface IFieldCodec<Type>
    interface IFieldCodec
    interface IDerivedTypeCodec
Public NotInheritable Class TypeSerializerCodec
Implements IDerivedTypeCodec, IFieldCodec(Of Type)
Inheritance
TypeSerializerCodec
Attributes
Implements

Constructors

TypeSerializerCodec()

Methods

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

Reads a value.

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

Writes a field without type info (expected type is statically known).

Explicit Interface Implementations

IFieldCodec<Type>.ReadValue<TInput>(Reader<TInput>, Field)

Reads a value.

IFieldCodec<Type>.WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, Type)

Writes a field.

Applies to