- Timestamp:
- 06/15/09 02:18:42 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Operator Architecture Refactoring/HeuristicLab.Core/3.3/Variable.cs
r2033 r2042 102 102 /// <param name="clonedObjects">Dictionary of all already cloned objects. (Needed to avoid cycles.)</param> 103 103 /// <returns>The cloned object as <see cref="Variable"/>.</returns> 104 public override object Clone(IDictionary<long, object> clonedObjects) {104 public override ICloneable Clone(ICloner cloner) { 105 105 Variable clone = new Variable(); 106 clone dObjects.Add(clone.Id, clone);106 cloner.AddClonedObject(this, clone); 107 107 clone.myName = Name; 108 108 if (Value != null) 109 clone.myValue = (IItem) Auxiliary.Clone(Value, clonedObjects);109 clone.myValue = (IItem)cloner.Clone(Value); 110 110 return clone; 111 111 }
Note: See TracChangeset
for help on using the changeset viewer.