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 | Properties | List of all members
strange.extensions.mediation.api.IMediator Interface Reference

Look at strange.extensions.mediation.api.IMediationBinder, where I explain the purpose of Mediation in detail. More...

Inheritance diagram for strange.extensions.mediation.api.IMediator:
strange.extensions.mediation.impl.Mediator strange.extensions.mediation.impl.EventMediator

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.
 

Detailed Description

Look at strange.extensions.mediation.api.IMediationBinder, where I explain the purpose of Mediation in detail.

See Also
strange.extensions.mediation.api.IMediationBinder

Member Function Documentation

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.


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