Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/23/09 16:43:34 (14 years ago)
Author:
swagner
Message:

Refactored cloning (#806)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Data/3.3/StringData.cs

    r2520 r2526  
    6464    /// <param name="clonedObjects">A dictionary of all already cloned objects.</param>
    6565    /// <returns>The coned instance as <see cref="StringData"/>.</returns>
    66     public override object Clone(IDictionary<Guid, object> clonedObjects) {
     66    public override IItem Clone(ICloner cloner) {
    6767      StringData clone = new StringData();
    68       clonedObjects.Add(Guid, clone);
     68      cloner.RegisterClonedObject(this, clone);
    6969      clone.Data = Data;
    7070      return clone;
Note: See TracChangeset for help on using the changeset viewer.