Free cookie consent management tool by TermsFeed Policy Generator

Changeset 124


Ignore:
Timestamp:
04/15/08 16:15:07 (17 years ago)
Author:
gkronber
Message:

fixed a problem that was caused by serializing a sub-element (constraints) before serializing attributes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/XmlTextWriterBranch/HeuristicLab.Core/OperatorBase.cs

    r119 r124  
    462462    //}
    463463    public override void Persist(string name, XmlWriter writer, IDictionary<Guid, IStorable> persistedObjects) {
    464       base.Persist(name, writer, persistedObjects);
    465464      writer.WriteAttributeString("Name", Name);
    466465      if(Breakpoint)
    467466        writer.WriteAttributeString("BreakPoint", Breakpoint.ToString());
     467      base.Persist(name, writer, persistedObjects);
     468
    468469      writer.WriteStartElement("SubOperators");
    469470      for(int i = 0; i < SubOperators.Count; i++)
Note: See TracChangeset for help on using the changeset viewer.