Click or drag to resize

CallbackContextEventTAddHandler Method

Add a callback to the event.

Namespace: Demo3D.Net
Assembly: Demo3D.IO (in Demo3D.IO.dll) Version: 19.00.00
Syntax
C#
public 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

Boolean
True if this is the first subscription to the event.
See Also