Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/14/08 21:51:15 (17 years ago)
Author:
gkronber
Message:

created a branch that uses XmlTextReader instead of XMLDocument to load documents. Investigating ticket #103. (...work in progress!)

Location:
branches/XmlTextReaderBranch
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/XmlTextReaderBranch/HeuristicLab.ES/ES.cs

    r98 r121  
    606606      return node;
    607607    }
    608     public override void Populate(XmlNode node, IDictionary<Guid, IStorable> restoredObjects) {
    609       base.Populate(node, restoredObjects);
    610       myEngine = (IEngine)PersistenceManager.Restore(node.SelectSingleNode("Engine"), restoredObjects);
     608    //public override void Populate(XmlNode node, IDictionary<Guid, IStorable> restoredObjects) {
     609    //  base.Populate(node, restoredObjects);
     610    //  myEngine = (IEngine)PersistenceManager.Restore(node.SelectSingleNode("Engine"), restoredObjects);
     611    //  SetReferences();
     612    //}
     613    public override void Populate(XmlReader reader, IDictionary<Guid, IStorable> restoredObjects) {
     614      base.Populate(reader, restoredObjects);
     615      myEngine = (IEngine)PersistenceManager.Restore(reader, "Engine", restoredObjects);
    611616      SetReferences();
    612617    }
Note: See TracChangeset for help on using the changeset viewer.