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.ITriggerable Interface Reference

Interface for declaring a class capable of being triggered by a provided key and/or name. More...

Inheritance diagram for strange.extensions.dispatcher.api.ITriggerable:
strange.extensions.command.impl.CommandBinder strange.extensions.context.impl.CrossContextBridge strange.extensions.dispatcher.eventdispatcher.impl.EventDispatcher strange.extensions.sequencer.impl.Sequencer strange.extensions.command.impl.EventCommandBinder strange.extensions.command.impl.SignalCommandBinder strange.extensions.sequencer.impl.Sequencer strange.extensions.sequencer.impl.EventSequencer strange.extensions.sequencer.impl.EventSequencer

Public Member Functions

bool Trigger< T > (object data)
 Cause this ITriggerable to access any provided Key in its Binder by the provided generic and data. More...
 
bool Trigger (object key, object data)
 Cause this ITriggerable to access any provided Key in its Binder by the provided key and data. More...
 

Detailed Description

Interface for declaring a class capable of being triggered by a provided key and/or name.

Objects implementing ITriggerable can register with objects implementing ITriggerProvider. The contract specifies that TriggerProvider will pass events on to the Triggerable class. This allows notifications, such as IEvents to pass through the event bus and trigger other binders.

See Also
strange.extensions.dispatcher.api.ITriggerProvider

Member Function Documentation

bool strange.extensions.dispatcher.api.ITriggerable.Trigger ( object  key,
object  data 
)

Cause this ITriggerable to access any provided Key in its Binder by the provided key and data.

Returns
false if the originator should abort dispatch

Implemented in strange.extensions.dispatcher.eventdispatcher.impl.EventDispatcher, strange.extensions.command.impl.CommandBinder, and strange.extensions.context.impl.CrossContextBridge.

Cause this ITriggerable to access any provided Key in its Binder by the provided generic and data.

Returns
false if the originator should abort dispatch

Implemented in strange.extensions.dispatcher.eventdispatcher.impl.EventDispatcher, strange.extensions.command.impl.CommandBinder, and strange.extensions.context.impl.CrossContextBridge.


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