No Arg Binding DI
Direct DI interface to be passed to provider methods that hold references.
It is augmented to allow such methods to access the context of the retrieval, as well as a provider or instance from the binding it is overriding (if it is overriding).
Parameters
The type of the context
Properties
Every methods eventually ends up to a call to this container.
Returns a regular DI instance (DI is lazy by default).
Functions
Gets a factory of T
for the given argument type, return type and tag, or nul if none is found.
Gets an instance of T
for the given type and tag.
Gets an instance of T
for the given type and tag, curried from a factory for the given argument.
Gets an instance of T
for the given type and tag, or null if none is found.
Gets an instance of T
for the given type and tag, curried from a factory for the given argument type, or null if none is found.
Gets an instance of T
for the given type and tag, or null if none is found.
Gets an instance of T
for the given type and tag, curried from a factory for the given argument, or null if none is found.
Auto resolve a class dependencies by using its constructor reference. The resolution is done at compile time by leveraging inline functions, no reflection is required.
Allows the creation of a new instance with DI injection.
Gets an instance from the overridden binding.
Gets an instance from the overridden binding, if this binding overrides an existing binding.
Gets a provider from the overridden binding.
Gets a provider from the overridden binding, if this binding overrides an existing binding.
Gets a provider of T
for the given type and tag, or null if none is found.
Gets a provider of T
for the given type and tag, curried from a factory for the given argument type, or null if none is found.
Gets a provider of T
for the given type and tag, or null if none is found.
Gets a provider of T
for the given type and tag, curried from a factory for the given argument, or null if none is found.