Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/14/08 17:49:47 (17 years ago)
Author:
gkronber
Message:

created a branch that uses XmlTextWriter instead of XMLDocument to save documents. Investigating ticket #103.

Location:
branches/XmlTextWriterBranch
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/XmlTextWriterBranch/HeuristicLab.StructureIdentification/GPOperatorLibrary.cs

    r2 r119  
    6767
    6868    #region persistence
    69     public override XmlNode GetXmlNode(string name, XmlDocument document, IDictionary<Guid, IStorable> persistedObjects) {
    70       XmlNode node = base.GetXmlNode(name, document, persistedObjects);
    71       node.AppendChild(PersistenceManager.Persist("Group", group, document, persistedObjects));
    72       return node;
     69    //public override XmlNode GetXmlNode(string name, XmlDocument document, IDictionary<Guid, IStorable> persistedObjects) {
     70    //  XmlNode node = base.GetXmlNode(name, document, persistedObjects);
     71    //  node.AppendChild(PersistenceManager.Persist("Group", group, document, persistedObjects));
     72    //  return node;
     73    //}
     74    public override void Persist(string name, XmlWriter writer, IDictionary<Guid, IStorable> persistedObjects) {
     75      base.Persist(name, writer, persistedObjects);
     76      PersistenceManager.Persist("Group", group, writer, persistedObjects);
    7377    }
    7478
Note: See TracChangeset for help on using the changeset viewer.