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