Changeset 4677 for branches/CloningRefactoring/HeuristicLab.Analysis/3.3/AlleleFrequencyCollection.cs
- Timestamp:
- 10/29/10 19:14:33 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CloningRefactoring/HeuristicLab.Analysis/3.3/AlleleFrequencyCollection.cs
r4639 r4677 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 25 using HeuristicLab.Common; 25 26 26 27 namespace HeuristicLab.Analysis { … … 31 32 [StorableClass] 32 33 public class AlleleFrequencyCollection : ReadOnlyItemCollection<AlleleFrequency> { 34 #region Storing & Cloning 35 [StorableConstructor] 36 protected AlleleFrequencyCollection(bool deserializing) : base(deserializing) { } 37 protected AlleleFrequencyCollection(AlleleFrequencyCollection original, Cloner cloner) : base(original, cloner) { } 38 public override IDeepCloneable Clone(Cloner cloner) { 39 return new AlleleFrequencyCollection(this, cloner); 40 } 41 #endregion 33 42 public AlleleFrequencyCollection() : base() { } 34 43 public AlleleFrequencyCollection(IEnumerable<AlleleFrequency> frequencies) : base(new ItemCollection<AlleleFrequency>(frequencies)) { } 35 [StorableConstructor]36 protected AlleleFrequencyCollection(bool deserializing) : base(deserializing) { }37 44 } 38 45 }
Note: See TracChangeset
for help on using the changeset viewer.