Documentation

Context

An IoC container in which injection, mediator and command bindings can be set. Subclass this class to create your own contexts.

Protected Methods

SetBindings Override to set additional injection, mediator and command bindings.
Bind Binds the given type to a value. All [inject] fields with a matching type in mediators and commands under this context will be set to this value.
BindLabeled Binds the given type to a value. All [inject(label)] fields with a matching label and type in mediators and commands under this context will be set to this value.
BindMediator Binds the given mediator type to the given view type. View instances under this context will be assigned an instance of the given mediator.
On Starts listening to the given signal type. Returns a command binder that can be used to set response actions.