Changeset 9195 for trunk/sources/HeuristicLab.Operators
- Timestamp:
- 01/29/13 14:39:02 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators/3.3/Operator.cs
r7259 r9195 22 22 using System; 23 23 using System.Drawing; 24 using System.Linq; 24 25 using System.Threading; 25 26 using HeuristicLab.Common; … … 119 120 ExecutionContext = context; 120 121 this.cancellationToken = cancellationToken; 121 foreach (I Parameter param in Parameters)122 foreach (ILookupParameter param in Parameters.OfType<ILookupParameter>()) 122 123 param.ExecutionContext = context; 123 124 IOperation next = Apply(); … … 126 127 } 127 128 finally { 128 foreach (I Parameter param in Parameters)129 foreach (ILookupParameter param in Parameters.OfType<ILookupParameter>()) 129 130 param.ExecutionContext = null; 130 131 ExecutionContext = null;
Note: See TracChangeset
for help on using the changeset viewer.