- Timestamp:
- 04/14/08 17:49:47 (17 years ago)
- Location:
- branches/XmlTextWriterBranch
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/XmlTextWriterBranch/HeuristicLab.Core/AtomicOperation.cs
r2 r119 51 51 52 52 #region Persistence Methods 53 public override XmlNode GetXmlNode(string name, XmlDocument document, IDictionary<Guid, IStorable> persistedObjects) { 54 XmlNode node = base.GetXmlNode(name, document, persistedObjects); 55 node.AppendChild(PersistenceManager.Persist("Operator", Operator, document, persistedObjects)); 56 node.AppendChild(PersistenceManager.Persist("Scope", Scope, document, persistedObjects)); 57 return node; 53 //public override XmlNode GetXmlNode(string name, XmlDocument document, IDictionary<Guid, IStorable> persistedObjects) { 54 // XmlNode node = base.GetXmlNode(name, document, persistedObjects); 55 // node.AppendChild(PersistenceManager.Persist("Operator", Operator, document, persistedObjects)); 56 // node.AppendChild(PersistenceManager.Persist("Scope", Scope, document, persistedObjects)); 57 // return node; 58 //} 59 public override void Persist(string name, XmlWriter writer, IDictionary<Guid, IStorable> persistedObjects) { 60 base.Persist(name, writer, persistedObjects); 61 PersistenceManager.Persist("Operator", Operator, writer, persistedObjects); 62 PersistenceManager.Persist("Scope", Scope, writer, persistedObjects); 58 63 } 59 64 public override void Populate(XmlNode node, IDictionary<Guid, IStorable> restoredObjects) {
Note: See TracChangeset
for help on using the changeset viewer.