- Timestamp:
- 10/29/10 18:28:32 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CloningRefactoring/HeuristicLab.Parameters/3.3/Parameter.cs
r4477 r4671 77 77 } 78 78 79 [StorableConstructor] 80 protected Parameter(bool deserializing) : base(deserializing) { } 81 protected Parameter(Parameter original, Cloner cloner) 82 : base(original, cloner) { 83 dataType = original.dataType; 84 executionContext = cloner.Clone(original.executionContext); 85 } 79 86 protected Parameter() 80 87 : base("Anonymous") { … … 91 98 this.dataType = dataType; 92 99 } 93 [StorableConstructor]94 protected Parameter(bool deserializing) : base(deserializing) { }95 96 public override IDeepCloneable Clone(Cloner cloner) {97 Parameter clone = (Parameter)base.Clone(cloner);98 clone.dataType = dataType;99 clone.executionContext = (IExecutionContext)cloner.Clone(executionContext);100 return clone;101 }102 100 103 101 public override string ToString() {
Note: See TracChangeset
for help on using the changeset viewer.