Changeset 2793 for trunk/sources/HeuristicLab.Common/3.2
- Timestamp:
- 02/14/10 01:57:07 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Common/3.2/NotificationDictionary.cs
r2790 r2793 48 48 protected virtual void OnBeforeInsert() { 49 49 if (BeforeInsertEvent != null) 50 BeforeInsertEvent(this, new EventArgs());50 BeforeInsertEvent(this, EventArgs.Empty); 51 51 } 52 52 53 53 protected virtual void OnAfterInsert() { 54 54 if (AfterInsertEvent != null) 55 AfterInsertEvent(this, new EventArgs());55 AfterInsertEvent(this, EventArgs.Empty); 56 56 } 57 57 58 58 protected virtual void OnBeforeRemove() { 59 59 if (BeforeRemoveEvent != null) 60 BeforeRemoveEvent(this, new EventArgs());60 BeforeRemoveEvent(this, EventArgs.Empty); 61 61 } 62 62 63 63 protected virtual void OnAfterRemove() { 64 64 if (AfterRemoveEvent != null) 65 AfterRemoveEvent(this, new EventArgs());65 AfterRemoveEvent(this, EventArgs.Empty); 66 66 } 67 67 68 68 protected virtual void OnChange() { 69 69 if (ChangeEvent != null) 70 ChangeEvent(this, new EventArgs());70 ChangeEvent(this, EventArgs.Empty); 71 71 } 72 72 73 73 protected virtual void OnClear() { 74 74 if (ClearEvent != null) 75 ClearEvent(this, new EventArgs());75 ClearEvent(this, EventArgs.Empty); 76 76 } 77 77
Note: See TracChangeset
for help on using the changeset viewer.