Free cookie consent management tool by TermsFeed Policy Generator

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

Implemented ReadOnlyView property for items (#969).

File:
1 edited

Legend:

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

    r3160 r3317  
    3333
    3434    public override IDeepCloneable Clone(Cloner cloner) {
    35       ScopeList clone = new ScopeList(this.Select(x => (IScope)cloner.Clone(x)));
     35      ScopeList clone = new ScopeList();
    3636      cloner.RegisterClonedObject(this, clone);
     37      clone.ReadOnlyView = ReadOnlyView;
     38      clone.list = new List<IScope>(this.Select(x => (IScope)cloner.Clone(x)));
    3739      return clone;
    3840    }
Note: See TracChangeset for help on using the changeset viewer.