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
Implements Class Reference

Declares a Class to be implicitly bound. More...

Inheritance diagram for Implements:

Public Member Functions

 Implements ()
 Concretely bind to own type More...
 
 Implements (InjectionBindingScope scope)
 Concretely bind to own type and specify scope More...
 
 Implements (Type t, InjectionBindingScope scope=InjectionBindingScope.SINGLE_CONTEXT)
 Bind to an interface, specify the scope if necessary More...
 
 Implements (InjectionBindingScope scope, object name)
 Bind concretely, specifying a scope and object name More...
 
 Implements (Type t, InjectionBindingScope scope, object name)
 Bind to an interface, specifying a scope and object name More...
 

Properties

object Name [get, set]
 
Type DefaultInterface [get, set]
 
InjectionBindingScope Scope [get, set]
 

Detailed Description

Declares a Class to be implicitly bound.

No arguments binds a concrete class to itself Passing an Interface binds to that interface Implements overrides ImplementedBy

Constructor & Destructor Documentation

Implements.Implements ( )
inline

Concretely bind to own type

Implements.Implements ( InjectionBindingScope  scope)
inline

Concretely bind to own type and specify scope

Parameters
scope
Implements.Implements ( Type  t,
InjectionBindingScope  scope = InjectionBindingScope.SINGLE_CONTEXT 
)
inline

Bind to an interface, specify the scope if necessary

Parameters
tInterface to bind to
scopeSingle Context(default) or Cross Context.
Implements.Implements ( InjectionBindingScope  scope,
object  name 
)
inline

Bind concretely, specifying a scope and object name

Parameters
scope
name
Implements.Implements ( Type  t,
InjectionBindingScope  scope,
object  name 
)
inline

Bind to an interface, specifying a scope and object name

Parameters
tInterface to bind to
scopeSingle Context or Cross Context
nameName to bind to

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