Changeset 4722 for trunk/sources/HeuristicLab.Operators/3.3/IntCounter.cs
- 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.Operators/3.3/IntCounter.cs
r4477 r4722 20 20 #endregion 21 21 22 using HeuristicLab.Common; 22 23 using HeuristicLab.Core; 23 24 using HeuristicLab.Data; … … 43 44 } 44 45 46 [StorableConstructor] 47 private IntCounter(bool deserializing) : base(deserializing) { } 48 private IntCounter(IntCounter original, Cloner cloner) 49 : base(original, cloner) { 50 } 45 51 public IntCounter() 46 52 : base() { 47 53 Parameters.Add(new LookupParameter<IntValue>("Value", "The value which should be incremented.")); 48 54 Parameters.Add(new ValueLookupParameter<IntValue>("Increment", "The increment which is added to the value.", new IntValue(1))); 55 } 56 57 public override IDeepCloneable Clone(Cloner cloner) { 58 return new IntCounter(this, cloner); 49 59 } 50 60
Note: See TracChangeset
for help on using the changeset viewer.