Open sandboxFocus

Class ReferenceTypeSerializer

Base serializer for all reference types.

Implements
Namespace: PostSharp.Serialization
Assembly: PostSharp.dll
Syntax
public abstract class ReferenceTypeSerializer : ISerializer
Remarks

This type is intentionally non-generic because it is intended to be derived several times, making strong typing less convenient.

Constructors

Name Description
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