StrangeIoC
0.6.0
The IoC/Binding Framework for Unity3D and C#
|
A Context is the entry point to the binding framework. More...
Public Member Functions | |
IContext | Start () |
Kicks off the internal Context binding/instantiation mechanisms. | |
void | Launch () |
Fires ContextEvent.START (or the equivalent Signal) to launch the application. | |
IContext | AddContext (IContext context) |
Register a new context to this one. | |
IContext | RemoveContext (IContext context) |
Remove a context from this one. | |
void | AddView (object view) |
Register a view with this context. | |
void | RemoveView (object view) |
Remove a view from this context. | |
object | GetContextView () |
Get the ContextView. | |
Public Member Functions inherited from strange.framework.api.IBinder | |
IBinding | Bind< T > () |
Bind a Binding Key to a class or interface generic. | |
IBinding | Bind (object value) |
Bind a Binding Key to a value. | |
IBinding | GetBinding< T > () |
Retrieve a binding based on the provided Type. | |
IBinding | GetBinding (object key) |
Retrieve a binding based on the provided object. | |
IBinding | GetBinding< T > (object name) |
Retrieve a binding based on the provided Key (generic)/Name combo. | |
IBinding | GetBinding (object key, object name) |
Retrieve a binding based on the provided Key/Name combo. | |
IBinding | GetRawBinding () |
Generate an unpopulated IBinding in whatever concrete form the Binder dictates. | |
void | Unbind< T > () |
Remove a binding based on the provided Key (generic) | |
void | Unbind< T > (object name) |
Remove a binding based on the provided Key (generic) / Name combo. | |
void | Unbind (object key) |
Remove a binding based on the provided Key. | |
void | Unbind (object key, object name) |
Remove a binding based on the provided Key / Name combo. | |
void | Unbind (IBinding binding) |
Remove the provided binding from the Binder. | |
void | RemoveValue (IBinding binding, object value) |
Remove a select value from the given binding. | |
void | RemoveKey (IBinding binding, object value) |
Remove a select key from the given binding. | |
void | RemoveName (IBinding binding, object value) |
Remove a select name from the given binding. | |
void | OnRemove () |
The Binder is being removed Override this method to clean up remaining bindings. | |
void | ResolveBinding (IBinding binding, object key) |
Places individual Bindings into the bindings Dictionary as part of the resolving process More... | |
A Context is the entry point to the binding framework.
Implement this interface to create the binding context suitable for your application.
In a typical Unity3D setup, an extension of MVCSContext should be instantiated from the ContextView.