StrangeIoC  0.6.0
The IoC/Binding Framework for Unity3D and C#
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Properties | List of all members
strange.extensions.mediation.impl.EventView Class Reference

Injects a local event bus into this View. More...

Inheritance diagram for strange.extensions.mediation.impl.EventView:
strange.extensions.mediation.impl.View strange.extensions.mediation.api.IView

Properties

IEventDispatcher dispatcher [get, set]
 
- Properties inherited from strange.extensions.mediation.impl.View
bool requiresContext [get, set]
 
virtual bool autoRegisterWithContext [get, set]
 
bool registeredWithContext [get, set]
 
- Properties inherited from strange.extensions.mediation.api.IView
bool requiresContext [get, set]
 Indicates whether the View can work absent a context. More...
 
bool registeredWithContext [get, set]
 Indicates whether this View has been registered with a Context.
 
bool autoRegisterWithContext [get]
 Exposure to code of the registerWithContext (Inspector) boolean. If false, the View won't try to register.
 

Additional Inherited Members

- Protected Member Functions inherited from strange.extensions.mediation.impl.View
virtual void Awake ()
 A MonoBehaviour Awake handler. More...
 
virtual void Start ()
 A MonoBehaviour Start handler If the View is not yet registered with the Context, it will attempt to connect again at this moment. More...
 
virtual void OnDestroy ()
 A MonoBehaviour OnDestroy handler The View will inform the Context that it is about to be destroyed. More...
 
virtual void bubbleToContext (MonoBehaviour view, bool toAdd, bool finalTry)
 Recurses through Transform.parent to find the GameObject to which ContextView is attached Has a loop limit of 100 levels. More...
 
- Protected Attributes inherited from strange.extensions.mediation.impl.View
bool registerWithContext = true
 A flag for allowing the View to register with the Context In general you can ignore this. More...
 

Detailed Description

Injects a local event bus into this View.

Intended for local communication between the View and its Mediator.

Caution: we recommend against injecting the context-wide dispatcher into a View.


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