- Timestamp:
- 04/15/08 16:41:18 (17 years ago)
- Location:
- branches/XmlReaderWriterBranch
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/XmlReaderWriterBranch/HeuristicLab.Operators/CombinedOperator.cs
r119 r125 103 103 PersistenceManager.Persist("OperatorGraph", OperatorGraph, writer, persistedObjects); 104 104 } 105 public override void Populate(XmlNode node, IDictionary<Guid, IStorable> restoredObjects) { 106 base.Populate(node, restoredObjects); 107 XmlNode descriptionNode = node.SelectSingleNode("Description"); 108 if (descriptionNode != null) myDescription = descriptionNode.InnerText; 109 myOperatorGraph = (IOperatorGraph)PersistenceManager.Restore(node.SelectSingleNode("OperatorGraph"), restoredObjects); 105 //public override void Populate(XmlNode node, IDictionary<Guid, IStorable> restoredObjects) { 106 // base.Populate(node, restoredObjects); 107 // XmlNode descriptionNode = node.SelectSingleNode("Description"); 108 // if(descriptionNode != null) myDescription = descriptionNode.InnerText; 109 // myOperatorGraph = (IOperatorGraph)PersistenceManager.Restore(node.SelectSingleNode("OperatorGraph"), restoredObjects); 110 //} 111 public override void Populate(XmlReader reader, IDictionary<Guid, IStorable> restoredObjects) { 112 base.Populate(reader, restoredObjects); 113 myDescription = reader.ReadElementString("Description"); 114 myOperatorGraph = (IOperatorGraph)PersistenceManager.Restore(reader, "OperatorGraph", restoredObjects); 115 reader.Read(); 110 116 } 111 117 #endregion
Note: See TracChangeset
for help on using the changeset viewer.