PostSharp.ILAPI ReferencePost­Sharp.​SerializationReference­Type­Serializer
Open sandboxFocus

ReferenceTypeSerializer Class

Base serializer for all reference types.

Inheritance
ReferenceTypeSerializer
Implements
ISerializer
Namespace: PostSharp.Serialization
Assembly: PostSharp.dll
Syntax
public abstract class ReferenceTypeSerializer : Object, ISerializer

Constructors

Name Description
ReferenceTypeSerializer() PostSharp.Serialization.ReferenceTypeSerializer

Methods

Name Description
Convert(Object, Type)

Converts a value into a given target type.

CreateInstance(Type, IArgumentsReader)

Creates an instance of the given type.

DeserializeFields(Object, IArgumentsReader)

Completes the second phase of deserialization by setting fields and other properties.

SerializeObject(Object, IArgumentsWriter, IArgumentsWriter)

Serializes an object

Explicit Interface Implementations

Name Description
ISerializer.DeserializeFields(ref Object, IArgumentsReader)
ISerializer.IsTwoPhase
ISerializer.SerializeObject(Object, IArgumentsWriter, IArgumentsWriter)