Changeset 3729 for trunk/sources/HeuristicLab.Core
- Timestamp:
- 05/10/10 00:51:36 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core/3.3/OperatorGraph.cs
r3407 r3729 142 142 143 143 // remove edges to removed operator 144 var opParams =from o in Operators145 from p in o.Parameters146 where p is IValueParameter147 where typeof(IOperator).IsAssignableFrom(((IValueParameter)p).DataType)148 where (((IValueParameter)p).Value != null) && (((IValueParameter)p).Value == op)149 select (IValueParameter)p;144 IValueParameter[] opParams = (from o in Operators 145 from p in o.Parameters 146 where p is IValueParameter 147 where typeof(IOperator).IsAssignableFrom(((IValueParameter)p).DataType) 148 where (((IValueParameter)p).Value != null) && (((IValueParameter)p).Value == op) 149 select (IValueParameter)p).ToArray(); 150 150 foreach (IValueParameter opParam in opParams) 151 151 opParam.Value = null;
Note: See TracChangeset
for help on using the changeset viewer.