Interface IBinder
Allows the creation and deletion of IBinding which is a mapping contract that contains optional
information between a Type and a provider IProvider of a dependency denoted by the
Type.
Assembly: cs.temp.dll.dll
Syntax
Methods
Bind(Type)
Create the IBinding with the contract type
.
Declaration
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
Bind<TContract>()
Create the IBinding with the contract TContract
.
Declaration
IBinding Bind<TContract>()
Returns
Type Parameters
Name |
Description |
TContract |
|
Unbind(Type)
Remove the IBinding that is associated with the type type
Declaration
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
Unbind(Type, Object)
Remove the IBinding that is associated with the type type
and
id
Declaration
bool Unbind(Type type, object id)
Parameters
Returns
Unbind<TContract>()
Remove the IBinding that is associated with the type TContract
Declaration
Returns
Type Parameters
Name |
Description |
TContract |
|
Unbind<TContract>(Object)
Remove the IBinding that is associated with the type TContract
and
id
Declaration
bool Unbind<TContract>(object id)
Parameters
Type |
Name |
Description |
Object |
id |
|
Returns
Type Parameters
Name |
Description |
TContract |
|