StrangeIoC
0.6.0
The IoC/Binding Framework for Unity3D and C#
|
Look at strange.extensions.mediation.api.IMediationBinder, where I explain the purpose of Mediation in detail. More...
Public Member Functions | |
void | PreRegister () |
This method fires immediately after instantiation, but before injection. More... | |
void | OnRegister () |
This method fires immediately after injection. More... | |
void | OnRemove () |
This method fires just before a GameObject will be destroyed. More... | |
Properties | |
GameObject | contextView [get, set] |
Get/set the GameObject that represents the top-most item in this Context. | |
Look at strange.extensions.mediation.api.IMediationBinder, where I explain the purpose of Mediation in detail.
void strange.extensions.mediation.api.IMediator.OnRegister | ( | ) |
This method fires immediately after injection.
Override to perform the actions you might normally perform in a constructor.
Implemented in strange.extensions.mediation.impl.Mediator.
void strange.extensions.mediation.api.IMediator.OnRemove | ( | ) |
This method fires just before a GameObject will be destroyed.
Override to clean up any listeners, or anything else that might keep the View/Mediator pair from being garbage collected.
Implemented in strange.extensions.mediation.impl.Mediator.
void strange.extensions.mediation.api.IMediator.PreRegister | ( | ) |
This method fires immediately after instantiation, but before injection.
Override to handle anything that needs to happen prior to injection.
Implemented in strange.extensions.mediation.impl.Mediator.