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

A subclass of CommandBinder which relies on an IEventDispatcher as the common system bus. More...

Inheritance diagram for strange.extensions.command.impl.EventCommandBinder:
strange.extensions.command.impl.CommandBinder strange.framework.impl.Binder strange.extensions.command.api.ICommandBinder strange.extensions.command.api.IPooledCommandBinder strange.extensions.dispatcher.api.ITriggerable strange.framework.api.IBinder strange.framework.api.IBinder

Protected Member Functions

override ICommand createCommand (object cmd, object data)
 
override void disposeOfSequencedData (object data)
 
- Protected Member Functions inherited from strange.extensions.command.impl.CommandBinder
void next (ICommandBinding binding, object data, int depth)
 
virtual ICommand invokeCommand (Type cmd, ICommandBinding binding, object data, int depth)
 
ICommand getCommand (Type type)
 
void trackCommand (ICommand command, ICommandBinding binding)
 
void executeCommand (ICommand command)
 
override void resolver (IBinding binding)
 The default handler for resolving bindings during chained commands.
 
virtual Pool makePoolFromType (Type type)
 
- Protected Member Functions inherited from strange.framework.impl.Binder
void registerNameConflict (object key, IBinding newBinding, IBinding existingBinding)
 Take note of bindings that are in conflict. More...
 
bool isConflictCleared (Dictionary< IBinding, object > dict, IBinding binding)
 Returns true if the provided binding and the binding in the dict are no longer conflicting.
 
void clearConflict (object key, object name, Dictionary< IBinding, object > dict)
 
T[] spliceValueAt< T > (int splicePos, object[] objectValue)
 
object[] spliceValueAt (int splicePos, object[] objectValue)
 Remove the item at splicePos from the list objectValue.
 

Additional Inherited Members

- Public Member Functions inherited from strange.extensions.command.impl.CommandBinder
override IBinding GetRawBinding ()
 Generate an unpopulated IBinding in whatever concrete form the Binder dictates.
 
virtual void ReactTo (object trigger)
 Trigger a key that unlocks one or more Commands.
 
virtual void ReactTo (object trigger, object data)
 Trigger a key that unlocks one or more Commands and provide a data injection to that Command.
 
virtual void Stop (object key)
 Called to halt execution of a currently running command group.
 
virtual void ReleaseCommand (ICommand command)
 Release a previously retained Command. More...
 
Pool< T > GetPool< T > ()
 Retrieve the Pool of the specified type.
 
bool Trigger< T > (object data)
 Cause this ITriggerable to access any provided Key in its Binder by the provided generic and data. More...
 
bool Trigger (object key, object data)
 Cause this ITriggerable to access any provided Key in its Binder by the provided key and data. More...
 
new virtual ICommandBinding Bind< T > ()
 Bind a trigger Key by generic Type.
 
new virtual ICommandBinding Bind (object value)
 Bind a trigger Key by value.
 
new virtual ICommandBinding GetBinding< T > ()
 Retrieve a binding based on the provided Type.
 
- Protected Attributes inherited from strange.extensions.command.impl.CommandBinder
Dictionary< Type, Poolpools = new Dictionary<Type, Pool> ()
 
HashSet< ICommandactiveCommands = new HashSet<ICommand>()
 Tracker for parallel commands in progress.
 
Dictionary< ICommand,
ICommandBinding
activeSequences = new Dictionary<ICommand, ICommandBinding> ()
 Tracker for sequences in progress.
 
- Properties inherited from strange.extensions.command.impl.CommandBinder
IInjectionBinder injectionBinder [get, set]
 
bool usePooling [get, set]
 

Detailed Description

A subclass of CommandBinder which relies on an IEventDispatcher as the common system bus.


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