Free cookie consent management tool by TermsFeed Policy Generator

Changeset 12274 for stable


Ignore:
Timestamp:
04/01/15 15:36:49 (10 years ago)
Author:
mkommend
Message:

#2325: Merged r12022 into stable.

Location:
stable
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Optimization

  • stable/HeuristicLab.Optimization/3.3/RunCollection.cs

    r12009 r12274  
    6060      RegisterConstraintEvents(constraints);
    6161
     62      foreach (var run in this) {
     63        RegisterRunParametersEvents(run);
     64        RegisterRunResultsEvents(run);
     65      }
     66
    6267      UpdateFiltering(true);
    6368    }
     
    133138      RegisterConstraintsEvents();
    134139      RegisterConstraintEvents(constraints);
     140
     141      foreach (var run in this) {
     142        RegisterRunParametersEvents(run);
     143        RegisterRunResultsEvents(run);
     144      }
    135145      UpdateFiltering(true);
    136146    }
     
    489499    }
    490500
    491     protected virtual void RegisterConstraintEvents(IEnumerable<IRunCollectionConstraint> constraints) {
     501    private void RegisterConstraintEvents(IEnumerable<IRunCollectionConstraint> constraints) {
    492502      foreach (IRunCollectionConstraint constraint in constraints) {
    493503        constraint.ActiveChanged += new EventHandler(Constraint_ActiveChanged);
     
    497507      }
    498508    }
    499     protected virtual void DeregisterConstraintEvents(IEnumerable<IRunCollectionConstraint> constraints) {
     509    private void DeregisterConstraintEvents(IEnumerable<IRunCollectionConstraint> constraints) {
    500510      foreach (IRunCollectionConstraint constraint in constraints) {
    501511        constraint.ActiveChanged -= new EventHandler(Constraint_ActiveChanged);
Note: See TracChangeset for help on using the changeset viewer.