Table of Contents

Namespace MonkeyLoader.Events

Classes

AsyncEvent

Marks the base for all asynchronous events used by IAsyncEventSource<TEvent>s.

CancelableAsyncEvent

Marks the base for all cancelable asynchronous events used by ICancelableAsyncEventHandler<TEvent>s.

CancelableSyncEvent

Marks the base for all synchronous events used by ICancelableEventSource<TEvent>s.

DispatchableBaseEventAttribute

Marks an Event-derived class as a useful base class of the more derived instances dispatched by sources.
This causes sources dispatching derived event types to dispatch events for the marked class too.

Event

Marks the base for all event data classes.
Also contains static helper methods.

EventAttribute

Base class for all Attributes marking Events.

SubscribableBaseEventAttribute

Marks an Event-derived class as the base class of the more derived instances dispatched by sources.
This causes handlers expecting a more derived event type to be subscribed to sources for the marked class too; only being called when the concrete dispatched event is compatible with what they expect.

SyncEvent

Marks the base for all synchronous events used by IEventSource<TEvent>s.

Interfaces

IAsyncEventHandler<TEvent>

Defines the interface for async event handlers.

IAsyncEventSource<TEvent>

Defines the interface for sources of a certain type of async events.

ICancelableAsyncEventHandler<TEvent>

Defines the interface for async event handlers that support cancelation.

ICancelableAsyncEventSource<TEvent>

Defines the interface for sources of a certain type of cancelable async events.

ICancelableEventHandler<TEvent>

Defines the interface for synchronous event handlers that support cancelation.

ICancelableEventSource<TEvent>

Defines the interface for sources of a certain type of cancelable events.

IEventHandler<TEvent>

Defines the interface for synchronous event handlers.

IEventSource<TEvent>

Defines the interface for sources of a certain type of events.

Delegates

AsyncEventDispatching<TEvent>

Delegate for the Dispatching event.

CancelableAsyncEventDispatching<TEvent>

Delegate for the Dispatching event.

CancelableEventDispatching<TEvent>

Delegate for the Dispatching event.

EventDispatching<TEvent>

Delegate for the Dispatching event.