- Timestamp:
- 10/29/10 18:28:32 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CloningRefactoring/HeuristicLab.Parameters/3.3/OperatorParameter.cs
r4477 r4671 20 20 #endregion 21 21 22 using HeuristicLab.Common; 22 23 using HeuristicLab.Core; 23 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 30 31 [StorableClass] 31 32 public class OperatorParameter : OptionalValueParameter<IOperator> { 33 [StorableConstructor] 34 protected OperatorParameter(bool deserializing) : base(deserializing) { } 35 protected OperatorParameter(OperatorParameter original, Cloner cloner) : base(original, cloner) { } 32 36 public OperatorParameter() : base("Anonymous") { } 33 37 public OperatorParameter(string name) : base(name) { } … … 39 43 public OperatorParameter(string name, string description, IOperator value) : base(name, description, value) { } 40 44 public OperatorParameter(string name, string description, IOperator value, bool getsCollected) : base(name, description, value, getsCollected) { } 41 [StorableConstructor] 42 protected OperatorParameter(bool deserializing) : base(deserializing) { } 45 46 public override IDeepCloneable Clone(Cloner cloner) { 47 return new OperatorParameter(this, cloner); 48 } 43 49 } 44 50 }
Note: See TracChangeset
for help on using the changeset viewer.