- Timestamp:
- 04/15/08 16:41:18 (16 years ago)
- Location:
- branches/XmlReaderWriterBranch
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/XmlReaderWriterBranch/HeuristicLab.Operators.Programmable/ProgrammableOperator.cs
r119 r125 211 211 writer.WriteEndElement(); 212 212 } 213 public override void Populate(XmlNode node, IDictionary<Guid, IStorable> restoredObjects) { 214 base.Populate(node, restoredObjects); 215 XmlNode descriptionNode = node.SelectSingleNode("Description"); 216 myDescription = descriptionNode.InnerText; 217 XmlNode codeNode = node.SelectSingleNode("Code"); 218 myCode = codeNode.InnerText; 213 //public override void Populate(XmlNode node, IDictionary<Guid, IStorable> restoredObjects) { 214 // base.Populate(node, restoredObjects); 215 // XmlNode descriptionNode = node.SelectSingleNode("Description"); 216 // myDescription = descriptionNode.InnerText; 217 // XmlNode codeNode = node.SelectSingleNode("Code"); 218 // myCode = codeNode.InnerText; 219 //} 220 public override void Populate(XmlReader reader, IDictionary<Guid, IStorable> restoredObjects) { 221 base.Populate(reader, restoredObjects); 222 myDescription = reader.ReadElementString("Description"); 223 myCode = reader.ReadElementString("Code"); 219 224 } 220 225 #endregion
Note: See TracChangeset
for help on using the changeset viewer.