Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/17/12 23:54:58 (13 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.QuadraticAssignment/3.3/QuadraticAssignmentProblem.cs

    r7259 r7351  
    109109    private QuadraticAssignmentProblem(QuadraticAssignmentProblem original, Cloner cloner)
    110110      : base(original, cloner) {
    111       AttachEventHandlers();
     111      RegisterEventHandlers();
    112112    }
    113113    public QuadraticAssignmentProblem()
     
    142142
    143143      InitializeOperators();
    144       AttachEventHandlers();
     144      RegisterEventHandlers();
    145145    }
    146146
     
    165165        Parameters.Add(new ValueParameter<DoubleMatrix>("Distances", "The distance matrix which can either be specified directly without the coordinates, or can be calculated automatically from the coordinates.", d));
    166166      }
    167       AttachEventHandlers();
     167      RegisterEventHandlers();
    168168      #endregion
    169169    }
     
    254254
    255255    #region Helpers
    256     private void AttachEventHandlers() {
     256    private void RegisterEventHandlers() {
    257257      SolutionCreator.PermutationParameter.ActualNameChanged += new EventHandler(SolutionCreator_PermutationParameter_ActualNameChanged);
    258258      Evaluator.QualityParameter.ActualNameChanged += new EventHandler(Evaluator_QualityParameter_ActualNameChanged);
Note: See TracChangeset for help on using the changeset viewer.