- Timestamp:
- 11/06/10 01:56:04 (13 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources
- Property svn:mergeinfo changed
/branches/CloningRefactoring (added) merged: 4656-4693,4696-4697,4711-4714,4718-4719
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.Parameters/3.3/ValueParameter.cs
r4332 r4722 21 21 22 22 using System; 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 39 40 } 40 41 42 [StorableConstructor] 43 protected ValueParameter(bool deserializing) : base(deserializing) { } 44 protected ValueParameter(ValueParameter<T> original, Cloner cloner) : base(original, cloner) { } 41 45 public ValueParameter() : base() { } 42 46 public ValueParameter(string name) : base(name) { } … … 48 52 public ValueParameter(string name, string description, T value) : base(name, description, value) { } 49 53 public ValueParameter(string name, string description, T value, bool getsCollected) : base(name, description, value, getsCollected) { } 50 [StorableConstructor] 51 protected ValueParameter(bool deserializing) : base(deserializing) { } 54 55 public override IDeepCloneable Clone(Cloner cloner) { 56 return new ValueParameter<T>(this, cloner); 57 } 52 58 } 53 59 }
Note: See TracChangeset
for help on using the changeset viewer.