Edytuj

Udostępnij za pośrednictwem


ConcreteTypeSerializer<TField,TBaseCodec> Class

Definition

Serializer for reference types which can be instantiated.

public sealed class ConcreteTypeSerializer<TField,TBaseCodec> : Orleans.Serialization.Codecs.IFieldCodec<TField> where TField : class where TBaseCodec : IBaseCodec<TField>
type ConcreteTypeSerializer<'Field, 'BaseCodec (requires 'Field : null and 'BaseCodec :> IBaseCodec<'Field>)> = class
    interface IFieldCodec<'Field (requires 'Field : null)>
    interface IFieldCodec
Public NotInheritable Class ConcreteTypeSerializer(Of TField, TBaseCodec)
Implements IFieldCodec(Of TField)

Type Parameters

TField

The field type.

TBaseCodec

The partial serializer implementation type.

Inheritance
ConcreteTypeSerializer<TField,TBaseCodec>
Implements

Constructors

ConcreteTypeSerializer<TField,TBaseCodec>(IActivator<TField>, TBaseCodec)

Initializes a new instance of the ConcreteTypeSerializer<TField,TBaseCodec> class.

Methods

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

Reads a value.

ReadValueSealed<TInput>(Reader<TInput>, Field)
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, TField)

Writes a field.

Applies to