- Timestamp:
- 10/29/10 15:59:12 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CloningRefactoring/HeuristicLab.Operators/3.3/ConditionalBranch.cs
r4477 r4662 24 24 using HeuristicLab.Parameters; 25 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 using HeuristicLab.Common; 26 27 27 28 namespace HeuristicLab.Operators { … … 50 51 } 51 52 53 [StorableConstructor] 54 protected ConditionalBranch(bool deserializing) : base(deserializing) { } 55 protected ConditionalBranch(ConditionalBranch original, Cloner cloner) 56 : base(original, cloner) { 57 } 52 58 public ConditionalBranch() 53 59 : base() { … … 55 61 Parameters.Add(new OperatorParameter("TrueBranch", "The operator which is executed if the condition is true.")); 56 62 Parameters.Add(new OperatorParameter("FalseBranch", "The operator which is executed if the condition is false.")); 63 } 64 65 public override IDeepCloneable Clone(Cloner cloner) { 66 return new ConditionalBranch(this, cloner); 57 67 } 58 68
Note: See TracChangeset
for help on using the changeset viewer.