I

ILookupDecorator

Interface that can be used to decorate the lookup result for a set of types.
Inheritance Hierarchy

Members

No filters for this type

Methods

Adds a lookup chain element to the chain of lookups for a given type.
The lookup chain is context-specific. This method will not generally decorate the lookup of all instances of type t, but only those that stand in the context of this instance. It will throw an exception if it cannot decorate the given type.
abstract

Parameters

t: Constructor
The type to decorate the lookup.
lookup: IContextLookupChainLink
The chain element to add to the lookup of the given type.

Throws

Exception ({ name: 'NotSupportedError' })
If this instance cannot decorate the given type.

See Also

Developer's Guide
API
removeLookup
Removes a previously registered lookup chain element from the chain of lookups for a given type.
abstract

Parameters

t: Constructor
The type to remove the decorator from.
lookup: IContextLookupChainLink
The chain element to remove from the lookup of the given type.

See Also

Developer's Guide
API
addLookup