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 | List of all members
strange.extensions.dispatcher.eventdispatcher.impl.EventBinding Interface Reference

A Binding for the EventDispatcher. More...

Inheritance diagram for strange.extensions.dispatcher.eventdispatcher.impl.EventBinding:
strange.framework.impl.Binding strange.extensions.dispatcher.eventdispatcher.api.IEventBinding strange.framework.api.IBinding strange.framework.api.IBinding

Public Member Functions

 EventBinding (strange.framework.impl.Binder.BindingResolver resolver)
 
EventCallbackType TypeForCallback (EmptyCallback callback)
 Retrieve the type of the provided callback.
 
EventCallbackType TypeForCallback (EventCallback callback)
 Retrieve the type of the provided callback.
 
new IEventBinding Bind (object key)
 Tie this binding to a value key, such as a string or class instance.
 
IEventBinding To (EventCallback value)
 
IEventBinding To (EmptyCallback value)
 
new IEventBinding To (object value)
 Set the Binding's value to a value, such as a string or class instance.
 
override void RemoveValue (object value)
 Remove a specific value from the binding.
 
- Public Member Functions inherited from strange.framework.impl.Binding
 Binding (Binder.BindingResolver resolver)
 
virtual IBinding Bind< T > ()
 Tie this binding to a Type key.
 
virtual IBinding To< T > ()
 Set the Binding's value to a Type.
 
virtual IBinding ToName< T > ()
 Qualify a binding using a marker type.
 
virtual IBinding ToName (object o)
 Qualify a binding using a value, such as a string or class instance.
 
virtual IBinding Named< T > ()
 Retrieve a binding if the supplied name matches, by Type.
 
virtual IBinding Named (object o)
 Retrieve a binding if the supplied name matches, by value.
 
virtual void RemoveKey (object o)
 Remove a specific key from the binding.
 
virtual void RemoveName (object o)
 Remove a name from the binding.
 
virtual IBinding Weak ()
 

Additional Inherited Members

- Public Attributes inherited from strange.framework.impl.Binding
Binder.BindingResolver resolver
 
- Protected Attributes inherited from strange.framework.impl.Binding
ISemiBinding _key
 
ISemiBinding _value
 
ISemiBinding _name
 
bool _isWeak = false
 
- Properties inherited from strange.framework.impl.Binding
object key [get]
 
object value [get]
 
object name [get]
 
Enum keyConstraint [get, set]
 
Enum valueConstraint [get, set]
 
Enum nameConstraint [get, set]
 
bool isWeak [get]
 
- Properties inherited from strange.framework.api.IBinding
object key [get]
 Get the binding''s key.
 
object name [get]
 Get the binding's name.
 
object value [get]
 Get the binding's value.
 
Enum keyConstraint [get, set]
 Get or set a MANY or ONE constraint on the Key.
 
Enum valueConstraint [get, set]
 Get or set a MANY or ONE constraint on the Value.
 
bool isWeak [get]
 

Detailed Description

A Binding for the EventDispatcher.

EventBindings technically allow any Key, but require either an EmptyCallback (no arguments) or an EventCallback (one argument).

See Also
strange.extensions.dispatcher.eventdispatcher.api.IEvent

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