Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/17/11 17:16:33 (13 years ago)
Author:
epitzer
Message:

check hooks by method name only (#1530)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceSpeedUp/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/RealVectorSwarmUpdater.cs

    r5911 r6228  
    217217
    218218    [StorableHook(HookType.AfterDeserialization)]
     219    private void AfterDeserialization() {
     220      RegisterEvents();
     221    }
     222
    219223    private void RegisterEvents() {
    220224      VelocityBoundsStartValueParameter.ValueChanged += new EventHandler(VelocityBoundsStartValueParameter_ValueChanged);
     
    223227
    224228    void VelocityBoundsStartValueParameter_Value_ValueChanged(object sender, EventArgs e) {
    225       UpdateVelocityBoundsParamater(); 
     229      UpdateVelocityBoundsParamater();
    226230    }
    227231
     
    245249        VelocityBoundsStartValueParameter.Value.ValueChanged += new EventHandler(VelocityBoundsStartValueParameter_Value_ValueChanged);
    246250      }
    247       UpdateVelocityBoundsParamater(); 
     251      UpdateVelocityBoundsParamater();
    248252    }
    249253
Note: See TracChangeset for help on using the changeset viewer.