StrangeIoC  0.6.0
The IoC/Binding Framework for Unity3D and C#
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Classes | Enumerations | Functions
Package strange.extensions.dispatcher.eventdispatcher.api

Classes

interface  IEvent
 The interface for an event sent by the EventDispatcher. More...
 
interface  IEventBinding
 Binding interface for EventDispatcher. More...
 
interface  IEventDispatcher
 Interface for allowing a client to register as an observer. More...
 

Enumerations

enum  EventCallbackType { EventCallbackType.NO_ARGUMENTS, EventCallbackType.ONE_ARGUMENT, EventCallbackType.NOT_FOUND }
 
enum  EventDispatcherExceptionType { EventDispatcherExceptionType.EVENT_KEY_NULL, EventDispatcherExceptionType.EVENT_TYPE_MISMATCH, EventDispatcherExceptionType.TARGET_INVOCATION }
 

Functions

delegate void EventCallback (IEvent payload)
 Delegate for adding a listener with a single argument.
 
delegate void EmptyCallback ()
 Delegate for adding a listener with a no arguments.
 

Enumeration Type Documentation

Enumerator
NO_ARGUMENTS 

Indicates an EventCallback with no arguments.

ONE_ARGUMENT 

Indicates an EventCallback with one argument.

NOT_FOUND 

Indicates no matching EventCallback could be found.

Enumerator
EVENT_KEY_NULL 

Indicates that an event was fired with null as the key.

EVENT_TYPE_MISMATCH 

Indicates that the type of Event in the call and the type of Event in the payload don't match.

TARGET_INVOCATION 

When attempting to fire a callback, the callback was discovered to be casting illegally.