Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/08/09 17:05:17 (16 years ago)
Author:
epitzer
Message:

Numerous small changes, coding conventions, renames, mini refactoring (#548)

Location:
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Compact
Files:
2 added
2 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Compact/DoubleArray2XmlFormatters.cs

    r1454 r1542  
    66
    77  [EmptyStorableClass]
    8   public class DoubleArray2XmlFormatter : NumberArray2XmlFormatter {
     8  public class DoubleArray2XmlFormatter : NumberArray2XmlFormatterBase {
    99
    1010    public override Type Type {
     
    1414    }
    1515
    16     protected override string formatValue(object o) {
     16    protected override string FormatValue(object o) {
    1717      return ((double)o).ToString("r", CultureInfo.InvariantCulture);
    1818    }
    1919
    20     protected override object parseValue(string o) {
     20    protected override object ParseValue(string o) {
    2121      return double.Parse(o);
    2222    }
  • trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Compact/DoubleList2XmlFormatter.cs

    r1454 r1542  
    88
    99  [EmptyStorableClass]
    10   public class DoubleList2XmlFormatter : NumberEnumeration2XmlFormatter {
     10  public class DoubleList2XmlFormatter : NumberEnumeration2XmlFormatterBase {
    1111
    1212    public override Type Type {
     
    2424    }
    2525
    26     protected override string formatValue(object o) {
     26    protected override string FormatValue(object o) {
    2727      return ((double)o).ToString("r", CultureInfo.InvariantCulture);
    2828    }
    2929
    30     protected override object parseValue(string o) {
     30    protected override object ParseValue(string o) {
    3131      return double.Parse(o);
    3232    }
  • trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Compact/IntArray2XmlFormatters.cs

    r1454 r1542  
    55
    66  [EmptyStorableClass]
    7   public class IntArray2XmlFormatter : NumberArray2XmlFormatter {
     7  public class IntArray2XmlFormatter : NumberArray2XmlFormatterBase {
    88
    99    public override Type Type {
     
    1313    }
    1414
    15     protected override string formatValue(object o) {
     15    protected override string FormatValue(object o) {
    1616      return o.ToString();
    1717    }
    1818
    19     protected override object parseValue(string o) {
     19    protected override object ParseValue(string o) {
    2020      return int.Parse(o);
    2121    }
  • trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Compact/IntList2XmlFormatter.cs

    r1454 r1542  
    77
    88  [EmptyStorableClass]
    9   public class IntList2XmlFormatter : NumberEnumeration2XmlFormatter {
     9  public class IntList2XmlFormatter : NumberEnumeration2XmlFormatterBase {
    1010
    1111    public override Type Type {
     
    2323    }
    2424
    25     protected override string formatValue(object o) {
     25    protected override string FormatValue(object o) {
    2626      return o.ToString();
    2727    }
    2828
    29     protected override object parseValue(string o) {
     29    protected override object ParseValue(string o) {
    3030      return int.Parse(o);
    3131    }
Note: See TracChangeset for help on using the changeset viewer.