- Timestamp:
- 10/29/10 16:58:29 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CloningRefactoring/HeuristicLab.Optimization/3.3/ResultCollection.cs
r4068 r4665 21 21 22 22 using System.Collections.Generic; 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 31 32 public ResultCollection(int capacity) : base(capacity) { } 32 33 public ResultCollection(IEnumerable<IResult> collection) : base(collection) { } 34 [StorableConstructor] 35 protected ResultCollection(bool deserializing) : base(deserializing) { } 36 protected ResultCollection(ResultCollection original, Cloner cloner) 37 : base(original, cloner) { 38 } 39 public override IDeepCloneable Clone(Cloner cloner) { 40 return new ResultCollection(this, cloner); 41 } 33 42 } 34 43 }
Note: See TracChangeset
for help on using the changeset viewer.