using System;
namespace HeuristicLab.Persistence.Interfaces {
///
/// Marker interface primitive serializers. Transform data of type SourceType
/// into the serialization format SerialDataType. Derive from PrimitiveSerializerBase instead
/// of implementing this interface.
///
public interface IPrimitiveSerializer {
Type SerialDataType { get; }
Type SourceType { get; }
ISerialData Format(object o);
object Parse(ISerialData o);
}
///
/// Marker interface primitive serializers. Transform data of type SourceType
/// into the serialization format SerialDataType. Derive from PrimitiveSerializerBase instead
/// of implementing this interface.
///
public interface IPrimitiveSerializer