- Timestamp:
- 10/29/10 15:59:12 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CloningRefactoring/HeuristicLab.Data/3.3/Comparison.cs
r3431 r4662 34 34 } 35 35 36 [StorableConstructor] 37 protected Comparison(bool deserializing) : base(deserializing) { } 38 protected Comparison(Comparison original, Cloner cloner) 39 : base(original, cloner) { 40 } 36 41 public Comparison() : base() { } 37 42 public Comparison(ComparisonType value) : base(value) { } 38 43 39 44 public override IDeepCloneable Clone(Cloner cloner) { 40 Comparison clone = new Comparison(value); 41 cloner.RegisterClonedObject(this, clone); 42 clone.readOnly = readOnly; 43 return clone; 45 return new Comparison(this, cloner); 44 46 } 45 47
Note: See TracChangeset
for help on using the changeset viewer.