Defines the semantics of an object serializer.
Namespace: PostSharp.Serialization
Assembly: PostSharp.dll
Syntax
[InternalImplement]
public interface ISerializer
Properties
Name | Description |
---|---|
IsTwoPhase | Determines whether DeserializeFields(ref object, IArgumentsReader) should be invoked during deserialization.
The value is |
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(ref object, IArgumentsReader) | Completes the second phase of deserialization by setting fields and other properties. |
SerializeObject(object, IArgumentsWriter, IArgumentsWriter) | Serializes an object |