Class Notifier<E>Abstract

A base class that can be listened to, and dispatch events.

Type Parameters

  • E

Hierarchy (view full)

Constructors

Properties

listeners: ConcurrentCollection<Listener<E>> = ...

Methods

  • Listen to events from this helper. Duplicate listeners allowed.

    Parameters

    Returns void

  • Dispatch an event to a specific listener. Listener does not have to be added

    Parameters

    Returns void

  • Stop listening to events from this helper. If a duplicate listener is removed, only one is removed.

    Parameters

    Returns boolean

    True if a listener was removed, false otherwise.