|
static void | InvokeEvent< T > (EventHandler< T > handler, object sender, T args) |
| Invokes an event in a try-catch block to avoid propagating exceptions. More...
|
|
◆ InvokeEvent< T >()
static void GamecraftModdingAPI.Utility.ExceptionUtil.InvokeEvent< T > |
( |
EventHandler< T > |
handler, |
|
|
object |
sender, |
|
|
T |
args |
|
) |
| |
|
inlinestatic |
Invokes an event in a try-catch block to avoid propagating exceptions.
- Parameters
-
handler | The event to emit, can be null |
sender | Event sender |
args | Event arguments |
- Template Parameters
-
T | Type of the event arguments |
The documentation for this class was generated from the following file: