Changeset 2793 for trunk/sources/HeuristicLab.Core
- Timestamp:
- 02/14/10 01:57:07 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Core/3.3
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core/3.3/Engine.cs
r2790 r2793 242 242 protected virtual void OnExecutionTimeChanged() { 243 243 if (ExecutionTimeChanged != null) 244 ExecutionTimeChanged(this, new EventArgs());244 ExecutionTimeChanged(this, EventArgs.Empty); 245 245 } 246 246 /// <summary> … … 253 253 protected virtual void OnPrepared() { 254 254 if (Prepared != null) 255 Prepared(this, new EventArgs());255 Prepared(this, EventArgs.Empty); 256 256 } 257 257 /// <summary> … … 264 264 protected virtual void OnStarted() { 265 265 if (Started != null) 266 Started(this, new EventArgs());266 Started(this, EventArgs.Empty); 267 267 } 268 268 /// <summary> … … 275 275 protected virtual void OnStopped() { 276 276 if (Stopped != null) 277 Stopped(this, new EventArgs());277 Stopped(this, EventArgs.Empty); 278 278 } 279 279 /// <summary> -
trunk/sources/HeuristicLab.Core/3.3/NamedItem.cs
r2790 r2793 131 131 protected virtual void OnNameChanged() { 132 132 if (NameChanged != null) 133 NameChanged(this, new EventArgs());133 NameChanged(this, EventArgs.Empty); 134 134 OnChanged(); 135 135 } … … 142 142 protected virtual void OnDescriptionChanged() { 143 143 if (DescriptionChanged != null) 144 DescriptionChanged(this, new EventArgs());144 DescriptionChanged(this, EventArgs.Empty); 145 145 OnChanged(); 146 146 } -
trunk/sources/HeuristicLab.Core/3.3/OperatorGraph.cs
r2790 r2793 97 97 protected virtual void OnInitialOperatorChanged() { 98 98 if (InitialOperatorChanged != null) 99 InitialOperatorChanged(this, new EventArgs());99 InitialOperatorChanged(this, EventArgs.Empty); 100 100 OnChanged(); 101 101 } -
trunk/sources/HeuristicLab.Core/3.3/Variable.cs
r2790 r2793 101 101 private void OnValueChanged() { 102 102 if (ValueChanged != null) 103 ValueChanged(this, new EventArgs());103 ValueChanged(this, EventArgs.Empty); 104 104 OnChanged(); 105 105 }
Note: See TracChangeset
for help on using the changeset viewer.