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.TestFunctions/3.3/SingleObjectiveTestFunctionProblem.cs

    r7259 r7351  
    9292      strategyVectorCrossover = cloner.Clone(original.strategyVectorCrossover);
    9393      strategyVectorManipulator = cloner.Clone(original.strategyVectorManipulator);
    94       AttachEventHandlers();
     94      RegisterEventHandlers();
    9595    }
    9696    public SingleObjectiveTestFunctionProblem()
     
    115115
    116116      InitializeOperators();
    117       AttachEventHandlers();
     117      RegisterEventHandlers();
    118118      UpdateStrategyVectorBounds();
    119119    }
     
    232232      if (Operators.Count == 0) InitializeOperators();
    233233      #endregion
    234       AttachEventHandlers();
    235     }
    236 
    237     private void AttachEventHandlers() {
     234      RegisterEventHandlers();
     235    }
     236
     237    private void RegisterEventHandlers() {
    238238      ProblemSizeParameter.ValueChanged += new EventHandler(ProblemSizeParameter_ValueChanged);
    239239      ProblemSize.ValueChanged += new EventHandler(ProblemSize_ValueChanged);
Note: See TracChangeset for help on using the changeset viewer.