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 | Events | List of all members
strange.extensions.signal.impl.Signal< T, U, V > Class Template Reference

Base concrete form for a Signal with three parameters. More...

Inheritance diagram for strange.extensions.signal.impl.Signal< T, U, V >:
strange.extensions.signal.impl.BaseSignal strange.extensions.signal.api.IBaseSignal

Public Member Functions

void AddListener (Action< T, U, V > callback)
 
void AddOnce (Action< T, U, V > callback)
 
void RemoveListener (Action< T, U, V > callback)
 
override List< Type > GetTypes ()
 
void Dispatch (T type1, U type2, V type3)
 
- 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 > Listener = delegate { }
 
Action< T, U, V > 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.
 

Detailed Description

Base concrete form for a Signal with three parameters.


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