- Timestamp:
- 10/29/10 18:28:32 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CloningRefactoring/HeuristicLab.Parameters/3.3/ValueParameter.cs
r4332 r4671 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.