StrangeIoC
0.6.0
The IoC/Binding Framework for Unity3D and C#
|
Base concrete form for a Signal with four parameters. More...
Public Member Functions | |
void | AddListener (Action< T, U, V, W > callback) |
void | AddOnce (Action< T, U, V, W > callback) |
void | RemoveListener (Action< T, U, V, W > callback) |
override List< Type > | GetTypes () |
void | Dispatch (T type1, U type2, V type3, W type4) |
Public Member Functions inherited from strange.extensions.signal.impl.BaseSignal | |
void | Dispatch (object[] args) |
void | AddListener (Action< IBaseSignal, object[]> callback) |
void | AddOnce (Action< IBaseSignal, object[]> callback) |
void | RemoveListener (Action< IBaseSignal, object[]> callback) |
Public Member Functions inherited from strange.extensions.signal.api.IBaseSignal | |
void | Dispatch (object[] args) |
Instruct a Signal to call on all its registered listeners. | |
void | AddListener (Action< IBaseSignal, object[]> callback) |
Attach a callback to this Signal The callback parameters must match the Types and order which were originally assigned to the Signal on its creation. | |
void | AddOnce (Action< IBaseSignal, object[]> callback) |
Attach a callback to this Signal for the duration of exactly one Dispatch The callback parameters must match the Types and order which were originally assigned to the Signal on its creation, and the callback will be removed immediately after the Signal dispatches. | |
void | RemoveListener (Action< IBaseSignal, object[]> callback) |
Remove a callback from this Signal. | |
List< Type > | GetTypes () |
Returns a List<System.Type> representing the Types bindable to this Signal. | |
Events | |
Action< T, U, V, W > | Listener = delegate { } |
Action< T, U, V, W > | OnceListener = delegate { } |
Events inherited from strange.extensions.signal.impl.BaseSignal | |
Action< IBaseSignal, object[]> | BaseListener = delegate { } |
The delegate for repeating listeners. | |
Action< IBaseSignal, object[]> | OnceBaseListener = delegate { } |
The delegate for one-off listeners. | |
Base concrete form for a Signal with four parameters.