StrangeIoC
0.6.0
The IoC/Binding Framework for Unity3D and C#
|
Interface for declaring a class capable of being triggered by a provided key and/or name. More...
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... | |
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.
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.
Implemented in strange.extensions.dispatcher.eventdispatcher.impl.EventDispatcher, strange.extensions.command.impl.CommandBinder, and strange.extensions.context.impl.CrossContextBridge.
bool strange.extensions.dispatcher.api.ITriggerable.Trigger< T > | ( | object | data) |
Cause this ITriggerable to access any provided Key in its Binder by the provided generic and data.
Implemented in strange.extensions.dispatcher.eventdispatcher.impl.EventDispatcher, strange.extensions.command.impl.CommandBinder, and strange.extensions.context.impl.CrossContextBridge.