Changeset 12022 for trunk/sources
- Timestamp:
- 02/17/15 15:54:16 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization/3.3/RunCollection.cs
r12012 r12022 60 60 RegisterConstraintEvents(constraints); 61 61 62 foreach (var run in this) { 63 RegisterRunParametersEvents(run); 64 RegisterRunResultsEvents(run); 65 } 66 62 67 UpdateFiltering(true); 63 68 } … … 133 138 RegisterConstraintsEvents(); 134 139 RegisterConstraintEvents(constraints); 140 141 foreach (var run in this) { 142 RegisterRunParametersEvents(run); 143 RegisterRunResultsEvents(run); 144 } 135 145 UpdateFiltering(true); 136 146 } … … 489 499 } 490 500 491 pr otected virtualvoid RegisterConstraintEvents(IEnumerable<IRunCollectionConstraint> constraints) {501 private void RegisterConstraintEvents(IEnumerable<IRunCollectionConstraint> constraints) { 492 502 foreach (IRunCollectionConstraint constraint in constraints) { 493 503 constraint.ActiveChanged += new EventHandler(Constraint_ActiveChanged); … … 497 507 } 498 508 } 499 pr otected virtualvoid DeregisterConstraintEvents(IEnumerable<IRunCollectionConstraint> constraints) {509 private void DeregisterConstraintEvents(IEnumerable<IRunCollectionConstraint> constraints) { 500 510 foreach (IRunCollectionConstraint constraint in constraints) { 501 511 constraint.ActiveChanged -= new EventHandler(Constraint_ActiveChanged);
Note: See TracChangeset
for help on using the changeset viewer.