- Timestamp:
- 11/03/10 01:32:32 (14 years ago)
- Location:
- branches/CloningRefactoring/HeuristicLab.Core/3.3/Collections
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CloningRefactoring/HeuristicLab.Core/3.3/Collections/ConstraintCollection.cs
r4668 r4711 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); } 33 34 public ConstraintCollection() : base() { } 34 35 public ConstraintCollection(int capacity) : base(capacity) { } -
branches/CloningRefactoring/HeuristicLab.Core/3.3/Collections/OperatorCollection.cs
r4668 r4711 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); } 33 34 public OperatorCollection() : base() { } 34 35 public OperatorCollection(IEnumerable<IOperator> collection) : base(collection) { } -
branches/CloningRefactoring/HeuristicLab.Core/3.3/Collections/OperatorList.cs
r4668 r4711 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); } 33 34 public OperatorList() : base() { } 34 35 public OperatorList(int capacity) : base(capacity) { } -
branches/CloningRefactoring/HeuristicLab.Core/3.3/Collections/OperatorSet.cs
r4668 r4711 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); } 33 34 public OperatorSet() : base() { } 34 35 public OperatorSet(IEnumerable<IOperator> collection) : base(collection) { } -
branches/CloningRefactoring/HeuristicLab.Core/3.3/Collections/ParameterCollection.cs
r4668 r4711 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 33 35 public ParameterCollection() : base() { } 34 36 public ParameterCollection(int capacity) : base(capacity) { } -
branches/CloningRefactoring/HeuristicLab.Core/3.3/Collections/ValueParameterCollection.cs
r4668 r4711 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 33 35 public ValueParameterCollection() : base() { } 34 36 public ValueParameterCollection(int capacity) : base(capacity) { } -
branches/CloningRefactoring/HeuristicLab.Core/3.3/Collections/VariableCollection.cs
r4668 r4711 30 30 [StorableConstructor] 31 31 private VariableCollection(bool deserializing) : base(deserializing) { } 32 private VariableCollection(VariableCollection original, Cloner cloner) 33 : base(original, cloner) { 34 foreach (string key in original.dict.Keys) 35 dict.Add(key, cloner.Clone(original.dict[key])); 36 RegisterItemEvents(this); 37 } 32 private VariableCollection(VariableCollection original, Cloner cloner) : base(original, cloner) { } 38 33 public VariableCollection() : base() { } 39 34 public VariableCollection(int capacity) : base(capacity) { }
Note: See TracChangeset
for help on using the changeset viewer.