Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/17/12 23:54:58 (12 years ago)
Author:
abeham
Message:

#1722

  • fixed some problems that were identified with the first existing FxCop rules (duplicate storable hook in ExternalEvaluationProblem, multiple wrong names)
  • generally renamed AttachEventHandlers to RegisterEventHandlers to be consistent
  • fixed some backwards compatible regions to use the format from the snippet and the comment
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.OneMax/3.3/OnemaxProblem.cs

    r7259 r7351  
    7272    private OneMaxProblem(OneMaxProblem original, Cloner cloner)
    7373      : base(original, cloner) {
    74       AttachEventHandlers();
     74      RegisterEventHandlers();
    7575    }
    7676    public OneMaxProblem()
     
    8888
    8989      InitializeOperators();
    90       AttachEventHandlers();
     90      RegisterEventHandlers();
    9191    }
    9292
     
    140140      if (Operators.Count == 0) InitializeOperators();
    141141      #endregion
    142       AttachEventHandlers();
     142      RegisterEventHandlers();
    143143    }
    144144
    145     private void AttachEventHandlers() {
     145    private void RegisterEventHandlers() {
    146146      SolutionCreator.BinaryVectorParameter.ActualNameChanged += new EventHandler(SolutionCreator_BinaryVectorParameter_ActualNameChanged);
    147147      LengthParameter.ValueChanged += new EventHandler(LengthParameter_ValueChanged);
Note: See TracChangeset for help on using the changeset viewer.