Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/19/11 13:52:12 (13 years ago)
Author:
mkommend
Message:

#1532:

  • Enabled renaming of symbols
  • Fixed cloning of grammers
  • Added readonly attribute in grammars to lock grammars during the algorithm run
  • Removed useless clone method in cloner
  • Changed CheckedItemCollectionViews to enable scrolling during the locked state
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Common/3.3/Cloner.cs

    r5445 r6233  
    4141    /// <param name="item">The object which should be cloned.</param>
    4242    /// <returns>A clone of the given object.</returns>
    43     public IDeepCloneable Clone(IDeepCloneable obj) {
    44       if (obj == null) return null;
    45       IDeepCloneable clone;
    46       if (mapping.TryGetValue(obj, out clone))
    47         return clone;
    48       else
    49         return obj.Clone(this);
    50     }
    51     /// <summary>
    52     /// Creates a deep clone of a given deeply cloneable object.
    53     /// </summary>
    54     /// <param name="item">The object which should be cloned.</param>
    55     /// <returns>A clone of the given object.</returns>
    5643    public T Clone<T>(T obj) where T : class, IDeepCloneable {
    5744      if (obj == null) return null;
Note: See TracChangeset for help on using the changeset viewer.