- Timestamp:
- 04/13/10 06:41:56 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core/3.3/VariableCollection.cs
r3160 r3317 33 33 34 34 public override IDeepCloneable Clone(Cloner cloner) { 35 VariableCollection clone = new VariableCollection( this.Select(x => (IVariable)cloner.Clone(x)));35 VariableCollection clone = new VariableCollection(); 36 36 cloner.RegisterClonedObject(this, clone); 37 clone.ReadOnlyView = ReadOnlyView; 38 foreach (string key in dict.Keys) 39 clone.dict.Add(key, (IVariable)cloner.Clone(dict[key])); 40 clone.Initialize(); 37 41 return clone; 38 42 }
Note: See TracChangeset
for help on using the changeset viewer.