Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/14/08 21:51:15 (16 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.Core/StorableBase.cs

    r40 r121  
    5555      return node;
    5656    }
    57     public virtual void Populate(XmlNode node, IDictionary<Guid,IStorable> restoredObjects) {
    58       myGuid = new Guid(node.Attributes["GUID"].Value);
     57    public virtual void Populate(XmlReader reader, IDictionary<Guid,IStorable> restoredObjects) {
     58      myGuid = new Guid(reader["GUID"]);
    5959    }
    6060  }
Note: See TracChangeset for help on using the changeset viewer.