EventObserver.subscribeGlobal

Subscribes a global event handler to an event.

class EventObserver
static
void
subscribeGlobal
(
TEventArgs : EventArgs
)
(
string eventName
,
)

Parameters

eventName
Type: string

The event to subscribe to.

handler
Type: EventHandler!TEventArgs

The event handler.

Meta