Changeset 4719
- Timestamp:
- 11/05/10 02:22:01 (14 years ago)
- Location:
- branches/CloningRefactoring
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CloningRefactoring/HeuristicLab.Core/3.3/Collections/ConstraintCollection.cs
r4711 r4719 31 31 protected ConstraintCollection(bool deserializing) : base(deserializing) { } 32 32 protected ConstraintCollection(ConstraintCollection original, Cloner cloner) : base(original, cloner) { } 33 public override IDeepCloneable Clone(Cloner cloner) { return new ConstraintCollection(this, cloner); }34 33 public ConstraintCollection() : base() { } 35 34 public ConstraintCollection(int capacity) : base(capacity) { } 36 35 public ConstraintCollection(IEnumerable<IConstraint> collection) : base(collection) { } 36 37 public override IDeepCloneable Clone(Cloner cloner) { return new ConstraintCollection(this, cloner); } 37 38 } 38 39 } -
branches/CloningRefactoring/HeuristicLab.Core/3.3/Collections/OperatorCollection.cs
r4711 r4719 31 31 protected OperatorCollection(bool deserializing) : base(deserializing) { } 32 32 protected OperatorCollection(OperatorCollection original, Cloner cloner) : base(original, cloner) { } 33 public override IDeepCloneable Clone(Cloner cloner) { return new OperatorCollection(this, cloner); }34 33 public OperatorCollection() : base() { } 35 34 public OperatorCollection(IEnumerable<IOperator> collection) : base(collection) { } 35 36 public override IDeepCloneable Clone(Cloner cloner) { return new OperatorCollection(this, cloner); } 36 37 } 37 38 } -
branches/CloningRefactoring/HeuristicLab.Core/3.3/Collections/OperatorList.cs
r4711 r4719 31 31 protected OperatorList(bool deserializing) : base(deserializing) { } 32 32 protected OperatorList(OperatorList original, Cloner cloner) : base(original, cloner) { } 33 public override IDeepCloneable Clone(Cloner cloner) { return new OperatorList(this, cloner); }34 33 public OperatorList() : base() { } 35 34 public OperatorList(int capacity) : base(capacity) { } 36 35 public OperatorList(IEnumerable<IOperator> collection) : base(collection) { } 36 37 public override IDeepCloneable Clone(Cloner cloner) { return new OperatorList(this, cloner); } 37 38 } 38 39 } -
branches/CloningRefactoring/HeuristicLab.Core/3.3/Collections/OperatorSet.cs
r4711 r4719 31 31 protected OperatorSet(bool deserializing) : base(deserializing) { } 32 32 protected OperatorSet(OperatorSet original, Cloner cloner) : base(original, cloner) { } 33 public override IDeepCloneable Clone(Cloner cloner) { return new OperatorSet(this, cloner); }34 33 public OperatorSet() : base() { } 35 34 public OperatorSet(IEnumerable<IOperator> collection) : base(collection) { } 35 36 public override IDeepCloneable Clone(Cloner cloner) { return new OperatorSet(this, cloner); } 36 37 } 37 38 } -
branches/CloningRefactoring/HeuristicLab.Core/3.3/Collections/ParameterCollection.cs
r4711 r4719 31 31 protected ParameterCollection(bool deserializing) : base(deserializing) { } 32 32 protected ParameterCollection(ParameterCollection original, Cloner cloner) : base(original, cloner) { } 33 public override IDeepCloneable Clone(Cloner cloner) { return new ParameterCollection(this, cloner); }34 35 33 public ParameterCollection() : base() { } 36 34 public ParameterCollection(int capacity) : base(capacity) { } 37 35 public ParameterCollection(IEnumerable<IParameter> collection) : base(collection) { } 36 37 public override IDeepCloneable Clone(Cloner cloner) { return new ParameterCollection(this, cloner); } 38 38 } 39 39 } -
branches/CloningRefactoring/HeuristicLab.Core/3.3/Collections/ValueParameterCollection.cs
r4711 r4719 31 31 protected ValueParameterCollection(bool deserializing) : base(deserializing) { } 32 32 protected ValueParameterCollection(ValueParameterCollection original, Cloner cloner) : base(original, cloner) { } 33 public override IDeepCloneable Clone(Cloner cloner) { return new ValueParameterCollection(this, cloner); }34 35 33 public ValueParameterCollection() : base() { } 36 34 public ValueParameterCollection(int capacity) : base(capacity) { } 37 35 public ValueParameterCollection(IEnumerable<IValueParameter> collection) : base(collection) { } 36 37 public override IDeepCloneable Clone(Cloner cloner) { return new ValueParameterCollection(this, cloner); } 38 38 } 39 39 } -
branches/CloningRefactoring/HeuristicLab.Data/3.3/BoolValue.cs
r4718 r4719 42 42 public BoolValue(bool value) 43 43 : base(value) { 44 //mkommend: be aware that the base call refers to the storable ctor => the value is set explicitly in the ctor body45 // this should not affect the persistence because first the ctor is called and afterwards the values were set by reflection.44 //mkommend: Be aware that the base call refers to the storable ctor => the value is set explicitly in the ctor body. 45 // This should not affect the persistence, because first the ctor is called and afterwards the values are set by reflection. 46 46 this.value = value; 47 47 }
Note: See TracChangeset
for help on using the changeset viewer.