ReferenceTypeSerializer Class
Base serializer for all reference types.
Inheritance
Implements
Namespace: PostSharp.Serialization
Assembly: PostSharp.dll
Syntax
public abstract class ReferenceTypeSerializer : Object, 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 |
Explicit Interface Implementations
Name | Description |
---|---|
ISerializer.DeserializeFields(ref Object, IArgumentsReader) | Completes the second phase of deserialization by setting fields and other properties. |
ISerializer.IsTwoPhase | Determines whether DeserializeFields(ref Object, IArgumentsReader) should be invoked during deserialization.
The value is |
ISerializer.SerializeObject(Object, IArgumentsWriter, IArgumentsWriter) | Serializes an object |