using System; using HeuristicLab.Persistence.Core; namespace HeuristicLab.Persistence.Default.Xml.Compact { public abstract class IntArray2XmlSerializerBase : NumberArray2XmlSerializerBase where T : class { protected override string FormatValue(object o) { return o.ToString(); } protected override object ParseValue(string o) { return int.Parse(o); } } public class Int1DArray2XmlSerializer : IntArray2XmlSerializerBase { } public class Int2DArray2XmlSerializer : IntArray2XmlSerializerBase { } public class Int3DArray2XmlSerializer : IntArray2XmlSerializerBase { } }