CallbackContextEventTAddHandler Method |
Add a callback to the event.
Namespace: Demo3D.NetAssembly: Demo3D.IO (in Demo3D.IO.dll) Version: 19.00.00
Syntaxpublic bool AddHandler(
Action<T> handler,
CallbackContext callbackContext
)
Parameters
- handler ActionT
- The callback to add.
- callbackContext CallbackContext
- The callers chosen context for the callback to be called in.
Return Value
BooleanTrue if this is the first subscription to the event.
See Also