StrangeIoC  0.6.0
The IoC/Binding Framework for Unity3D and C#
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Public Member Functions | List of all members
strange.extensions.dispatcher.api.IDispatcher Interface Reference

A Dispatcher sends notifiations to any registered listener. More...

Inheritance diagram for strange.extensions.dispatcher.api.IDispatcher:
strange.extensions.dispatcher.eventdispatcher.api.IEventDispatcher strange.extensions.dispatcher.eventdispatcher.impl.EventDispatcher

Public Member Functions

void Dispatch (object eventType)
 Send a notification of type eventType. More...
 
void Dispatch (object eventType, object data)
 Send a notification of type eventType and the provided data payload. More...
 

Detailed Description

A Dispatcher sends notifiations to any registered listener.

It represents the subject in a standard Observer pattern.

In MVCSContext the dispatched notification is an IEvent.

Member Function Documentation

void strange.extensions.dispatcher.api.IDispatcher.Dispatch ( object  eventType)

Send a notification of type eventType.

No data. In MVCSContext this dispatches an IEvent.

Implemented in strange.extensions.dispatcher.eventdispatcher.impl.EventDispatcher.

void strange.extensions.dispatcher.api.IDispatcher.Dispatch ( object  eventType,
object  data 
)

Send a notification of type eventType and the provided data payload.

In MVCSContext this dispatches an IEvent.

Implemented in strange.extensions.dispatcher.eventdispatcher.impl.EventDispatcher.


The documentation for this interface was generated from the following file: