Redigera

Dela via


AbstractTypeSerializer<TField> Class

Definition

Serializer for types which are abstract and therefore cannot be instantiated themselves, such as abstract classes and interface types.

public class AbstractTypeSerializer<TField> : Orleans.Serialization.Serializers.AbstractTypeSerializer, Orleans.Serialization.Codecs.IFieldCodec<TField>, Orleans.Serialization.Serializers.IBaseCodec<TField> where TField : class
type AbstractTypeSerializer<'Field (requires 'Field : null)> = class
    inherit AbstractTypeSerializer
    interface IFieldCodec<'Field (requires 'Field : null)>
    interface IFieldCodec
    interface IBaseCodec<'Field (requires 'Field : null)>
    interface IBaseCodec
Public Class AbstractTypeSerializer(Of TField)
Inherits AbstractTypeSerializer
Implements IBaseCodec(Of TField), IFieldCodec(Of TField)

Type Parameters

TField
Inheritance
AbstractTypeSerializer<TField>
Derived
Implements

Constructors

AbstractTypeSerializer<TField>()

Methods

Deserialize<TReaderInput>(Reader<TReaderInput>, TField)
ReadValue<TInput>(Reader<TInput>, Field)

Reads a value.

Serialize<TBufferWriter>(Writer<TBufferWriter>, TField)
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, Object) (Inherited from AbstractTypeSerializer)
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, TField)

Writes a field.

Applies to