Changeset 5337 for branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/ConstrainedTypeValue.cs
- Timestamp:
- 01/20/11 01:30:44 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/ConstrainedTypeValue.cs
r5328 r5337 13 13 [Item("ConstrainedTypeValue", "Represents a type with constraints.")] 14 14 [StorableClass] 15 public abstractclass ConstrainedTypeValue : TypeValue {15 public class ConstrainedTypeValue : TypeValue { 16 16 17 17 [Storable] … … 42 42 this.validTypes = new List<Type>(original.validTypes); 43 43 } 44 public override IDeepCloneable Clone(Cloner cloner) { 45 return new ConstrainedTypeValue(this, cloner); 46 } 44 47 } 45 48 … … 56 59 this.Value = value; 57 60 } 61 [StorableConstructor] 62 protected ConstrainedTypeValue(bool deserializing) : base(deserializing) { } 58 63 protected ConstrainedTypeValue(ConstrainedTypeValue original, Cloner cloner) : base(original, cloner) { } 59 64 public override IDeepCloneable Clone(Cloner cloner) {
Note: See TracChangeset
for help on using the changeset viewer.