- Timestamp:
- 10/24/14 23:51:04 (10 years ago)
- Location:
- branches/OptimizationNetworks/HeuristicLab.Optimization.Networks/3.3/Ports
- Files:
-
- 1 added
- 17 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/OptimizationNetworks/HeuristicLab.Optimization.Networks/3.3/Ports/IPortParameter.cs
r11499 r11500 31 31 32 32 event EventHandler TypeChanged; 33 event EventHandler ValueChanged;33 event EventHandler DefaultValueChanged; 34 34 35 35 IMessageValue CreateMessageValue(); -
branches/OptimizationNetworks/HeuristicLab.Optimization.Networks/3.3/Ports/PortParameter.cs
r11499 r11500 71 71 this.defaultValue = value; 72 72 RegisterDefaultValueEvents(); 73 On ValueChanged();73 OnDefaultValueChanged(); 74 74 } 75 75 } … … 123 123 } 124 124 125 public event EventHandler ValueChanged;126 protected virtual void On ValueChanged() {127 var handler = ValueChanged;125 public event EventHandler DefaultValueChanged; 126 protected virtual void OnDefaultValueChanged() { 127 var handler = DefaultValueChanged; 128 128 if (handler != null) handler(this, EventArgs.Empty); 129 129 OnToStringChanged();
Note: See TracChangeset
for help on using the changeset viewer.