ConcreteTypeSerializer<TField,TBaseCodec> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
-
IFieldCodec IFieldCodec<TField>
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. |