Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/06/10 01:56:04 (13 years ago)
Author:
swagner
Message:

Merged cloning refactoring branch back into trunk (#922)

Location:
trunk/sources
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources

  • trunk/sources/HeuristicLab.Analysis/3.3/DataTableHistory.cs

    r4703 r4722  
    2222using System.Collections.Generic;
    2323using System.Drawing;
     24using HeuristicLab.Common;
    2425using HeuristicLab.Core;
    2526using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     
    3637    }
    3738
     39    [StorableConstructor]
     40    protected DataTableHistory(bool deserializing) : base(deserializing) { }
     41    protected DataTableHistory(DataTableHistory original, Cloner cloner) : base(original, cloner) { }
    3842    public DataTableHistory() : base() { }
    3943    public DataTableHistory(IEnumerable<DataTable> collection) : base(new ItemCollection<DataTable>(collection)) { }
    40     [StorableConstructor]
    41     protected DataTableHistory(bool deserializing) : base(deserializing) { }
     44
     45    public override IDeepCloneable Clone(Cloner cloner) {
     46      return new DataTableHistory(this, cloner);
     47    }
    4248  }
    4349}
Note: See TracChangeset for help on using the changeset viewer.