Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/16/10 19:15:09 (14 years ago)
Author:
swagner
Message:

Moved interfaces and classes for deep cloning from HeuristicLab.Core to HeuristicLab.Common (#975).

File:
1 edited

Legend:

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

    r3317 r3376  
    2222using System;
    2323using HeuristicLab.Collections;
     24using HeuristicLab.Common;
    2425using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2526
    2627namespace HeuristicLab.Core {
    2728  [StorableClass]
    28   public sealed class ExecutionContext : DeepCloneable, IExecutionContext, IAtomicOperation {
     29  public sealed class ExecutionContext : IDeepCloneable, IExecutionContext, IAtomicOperation {
    2930    [Storable]
    3031    private IParameterizedItem parameterizedItem;
     
    6263    }
    6364
    64     public override IDeepCloneable Clone(Cloner cloner) {
     65    public object Clone() {
     66      return Clone(new Cloner());
     67    }
     68    public IDeepCloneable Clone(Cloner cloner) {
    6569      ExecutionContext clone = new ExecutionContext();
    6670      cloner.RegisterClonedObject(this, clone);
Note: See TracChangeset for help on using the changeset viewer.