- Timestamp:
- 04/13/10 06:41:56 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core/3.3/OperationCollection.cs
r3017 r3317 26 26 namespace HeuristicLab.Core { 27 27 [StorableClass] 28 public class OperationCollection : DeepCloneable, IList<IOperation>, IOperation {28 public sealed class OperationCollection : DeepCloneable, IList<IOperation>, IOperation { 29 29 [Storable] 30 30 private IList<IOperation> operations; … … 51 51 52 52 public override IDeepCloneable Clone(Cloner cloner) { 53 OperationCollection clone = new OperationCollection(this.Select(x => (IOperation)cloner.Clone(x)));54 clone r.RegisterClonedObject(this, clone);53 OperationCollection clone = (OperationCollection)base.Clone(cloner); 54 clone.operations = new List<IOperation>(this.Select(x => (IOperation)cloner.Clone(x))); 55 55 clone.parallel = parallel; 56 56 return clone;
Note: See TracChangeset
for help on using the changeset viewer.