Initializes a new instance of the {@link geocortex.framework.events.Event} class.
The name of this event.
The {@link framework.application.Application} that this event belongs to.
The {@link geocortex.framework.application.Application} that this event instance belongs to. Set to null for private/internal events.
Is this event currently being published? This flag can be used to prevent unwanted recursive behaviour.
The name of this event.
Removes all registered handlers from this event.
Gets a subscription handler given a subscription token.
The subscription token to get the subscription for.
Subscribes an event handler for a single publishing of this event, returning a subscription token which can later be used to unsubscribe the handler from this event.
The scope for which to execute the handler in. It will become "this" inside of the handler when fired.
The handler function to execute.
Raises this event, sequentially executing every registered handler.
Parameters to pass to each handler.
Subscribes an event handler to this event, returning a subscription token which can later be used to unsubscribe the handler from this event.
The scope for which to execute the handler in. It will become "this" inside of the handler when fired.
The handler function to execute.
Unsubscribes a handler from this event, given its token.
The subscription token previously obtained by subscribing to this event.
Represents a named event which can have multiple subscriptions. Subscriptions are functions that are executed and passed event args when an event is raised.