ISerializer Interface
Defines the semantics of an object serializer.
Namespace: Metalama.Framework.Serialization
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public interface ISerializer
Properties
Name | Description |
---|---|
IsTwoPhase | Gets a value indicating 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. |