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.ThreadParallelEngine/ThreadParallelEngine.cs

    r2 r121  
    183183      return node;
    184184    }
    185     public override void Populate(XmlNode node, IDictionary<Guid, IStorable> restoredObjects) {
    186       base.Populate(node, restoredObjects);
    187       myWorkers = int.Parse(node.Attributes["Workers"].Value);
     185    //public override void Populate(XmlNode node, IDictionary<Guid, IStorable> restoredObjects) {
     186    //  base.Populate(node, restoredObjects);
     187    //  myWorkers = int.Parse(node.Attributes["Workers"].Value);
     188    //}
     189    public override void Populate(XmlReader reader, IDictionary<Guid, IStorable> restoredObjects) {
     190      base.Populate(reader, restoredObjects);
     191      myWorkers = int.Parse(reader["Workers"]);
    188192    }
    189193    #endregion
Note: See TracChangeset for help on using the changeset viewer.