Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/17/10 23:12:52 (12 years ago)
Author:
swagner
Message:

Added base class DeepCloneable again (#975)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core/3.3/OperationCollection.cs

    r3376 r3385  
    2828namespace HeuristicLab.Core {
    2929  [StorableClass]
    30   public sealed class OperationCollection : IDeepCloneable, IList<IOperation>, IOperation {
     30  public sealed class OperationCollection : DeepCloneable, IList<IOperation>, IOperation {
    3131    [Storable]
    3232    private IList<IOperation> operations;
     
    5252    }
    5353
    54     public object Clone() {
    55       return Clone(new Cloner());
    56     }
    57     public IDeepCloneable Clone(Cloner cloner) {
     54    public override IDeepCloneable Clone(Cloner cloner) {
    5855      OperationCollection clone = (OperationCollection)Activator.CreateInstance(this.GetType());
    5956      cloner.RegisterClonedObject(this, clone);
Note: See TracChangeset for help on using the changeset viewer.