Serializer Interface

[This is preliminary documentation and is subject to change.]

Implementations of this interface are responsible for (de-)serializing instances of specific types. If the available standard Serializers are not sufficient, more serializers can be added for specifc projetcs.
Declaration Syntax
C#Visual BasicVisual C++
public interface Serializer
Public Interface Serializer
public interface class Serializer
All MembersMethods

handle(FieldSchema, Dictionary<(Of <(Type, TypeSchema>)>))
The Serializer instance has to examine the given parameters and declare if it is able to handle the described type.

materialize(SerializeContext, MaterializeInfo)
Deserializes instances from the persitence layer.

serialize(SerializeContext, SerializeInfo)
Implementations of this routine are expected to serialize the passed instance.

Assembly: sorm.interfaces (Module: sorm.interfaces) Version: