- Timestamp:
- 04/14/08 17:49:47 (16 years ago)
- Location:
- branches/XmlTextWriterBranch
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/XmlTextWriterBranch/HeuristicLab.Logging/Linechart.cs
r2 r119 83 83 84 84 #region Persistence Methods 85 public override XmlNode GetXmlNode(string name, XmlDocument document, IDictionary<Guid, IStorable> persistedObjects) { 86 XmlNode node = base.GetXmlNode(name, document, persistedObjects); 87 node.AppendChild(PersistenceManager.Persist("NumberOfLines", myNumberOfLines, document, persistedObjects)); 88 node.AppendChild(PersistenceManager.Persist("Values", Values, document, persistedObjects)); 89 return node; 85 //public override XmlNode GetXmlNode(string name, XmlDocument document, IDictionary<Guid, IStorable> persistedObjects) { 86 // XmlNode node = base.GetXmlNode(name, document, persistedObjects); 87 // node.AppendChild(PersistenceManager.Persist("NumberOfLines", myNumberOfLines, document, persistedObjects)); 88 // node.AppendChild(PersistenceManager.Persist("Values", Values, document, persistedObjects)); 89 // return node; 90 //} 91 public override void Persist(string name, XmlWriter writer, IDictionary<Guid, IStorable> persistedObjects) { 92 base.Persist(name, writer, persistedObjects); 93 PersistenceManager.Persist("NumberOfLines", myNumberOfLines, writer, persistedObjects); 94 PersistenceManager.Persist("Values", Values, writer, persistedObjects); 90 95 } 91 96 public override void Populate(XmlNode node, IDictionary<Guid, IStorable> restoredObjects) {
Note: See TracChangeset
for help on using the changeset viewer.