- Timestamp:
- 01/17/12 23:54:58 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization/3.3/Problems/UserDefinedProblem.cs
r7259 r7351 121 121 [StorableHook(HookType.AfterDeserialization)] 122 122 private void AfterDeserialization() { 123 AttachEventHandlers();123 RegisterEventHandlers(); 124 124 } 125 125 public UserDefinedProblem() … … 132 132 Parameters.Add(new ValueParameter<ItemList<IOperator>>("Operators", "The operators that are passed to the algorithm.", new ItemList<IOperator>())); 133 133 134 AttachEventHandlers();134 RegisterEventHandlers(); 135 135 } 136 136 137 137 private UserDefinedProblem(UserDefinedProblem original, Cloner cloner) 138 138 : base(original, cloner) { 139 AttachEventHandlers();139 RegisterEventHandlers(); 140 140 } 141 141 public override IDeepCloneable Clone(Cloner cloner) { … … 194 194 195 195 #region Helpers 196 private void AttachEventHandlers() {196 private void RegisterEventHandlers() { 197 197 SolutionCreatorParameter.ValueChanged += new EventHandler(SolutionCreatorParameter_ValueChanged); 198 198 EvaluatorParameter.ValueChanged += new EventHandler(EvaluatorParameter_ValueChanged);
Note: See TracChangeset
for help on using the changeset viewer.