- Timestamp:
- 12/07/10 14:28:43 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/HL3Snippets/HL3.DefineGenericEvent.snippet
r5036 r5061 37 37 protected virtual void On$EventName$($ArgsType$ args) { 38 38 EventHandler<EventArgs<$ArgsType$>> handler = $EventName$; 39 if (handler == null)39 if (handler != null) 40 40 handler(this, new EventArgs<$ArgsType$>(args)); 41 41 }]]></Code>
Note: See TracChangeset
for help on using the changeset viewer.