Changeset 2830 for trunk/sources/HeuristicLab.Core/3.3/Scope.cs
- Timestamp:
- 02/19/10 02:15:10 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core/3.3/Scope.cs
r2790 r2830 20 20 #endregion 21 21 22 using System; 23 using System.Collections.Generic; 24 using System.Text; 25 using System.Xml; 22 using HeuristicLab.Collections; 26 23 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 27 using HeuristicLab.Collections;28 24 29 25 namespace HeuristicLab.Core { … … 99 95 clone.Name = Name; 100 96 clone.Description = Description; 101 clone.parent = (IScope)cloner.Clone(parent); 102 clone.Variables = (VariableCollection)cloner.Clone(variables); 103 clone.SubScopes = (ScopeList)cloner.Clone(subScopes); 97 if (variables.Count > 0) clone.Variables = (VariableCollection)cloner.Clone(variables); 98 if (subScopes.Count > 0) clone.SubScopes = (ScopeList)cloner.Clone(subScopes); 104 99 return clone; 105 100 }
Note: See TracChangeset
for help on using the changeset viewer.