Changeset 125 for branches/XmlReaderWriterBranch/HeuristicLab.Constraints/AllSubOperatorsTypeConstraint.cs
- 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.Constraints/AllSubOperatorsTypeConstraint.cs
r119 r125 96 96 } 97 97 98 public override void Populate(XmlNode node, IDictionary<Guid,IStorable> restoredObjects) { 99 base.Populate(node, restoredObjects); 100 groupConstraint = (SubOperatorTypeConstraint)PersistenceManager.Restore(node.SelectSingleNode("SubOperatorsGroupConstraint"), restoredObjects); 98 //public override void Populate(XmlNode node, IDictionary<Guid, IStorable> restoredObjects) { 99 // base.Populate(node, restoredObjects); 100 // groupConstraint = (SubOperatorTypeConstraint)PersistenceManager.Restore(node.SelectSingleNode("SubOperatorsGroupConstraint"), restoredObjects); 101 //} 102 public override void Populate(XmlReader reader, IDictionary<Guid, IStorable> restoredObjects) { 103 base.Populate(reader, restoredObjects); 104 reader.Read(); 105 groupConstraint = (SubOperatorTypeConstraint)PersistenceManager.Restore(reader, "SubOperatorsGroupConstraint", restoredObjects); 106 reader.Read(); 101 107 } 102 108 #endregion persistence
Note: See TracChangeset
for help on using the changeset viewer.