Direct DI
D stands for Direct. Direct DI!
Acts like a DI object but returns factories, providers and instances instead of returning property delegates. In essence, a DirectDI is used with = instead of with by.
Note that DirectDI is engineered to also work with Java code.
Inheritors
Properties
Every methods eventually ends up to a call to this container.
Returns a regular DI instance (DI is lazy by default).
Functions
Gets all instances that can return a T for the given type and tag.
Gets all instances that can return a T for the given type and tag, curried from factories for the given argument type.
Gets all providers that can return a T for the given type and tag.
Gets all providers that can return a T for the given type and tag, curried from factories for the given argument type.
Gets a factory of T for the given argument type, return type and tag.
Gets a factory of T for the given argument type, return type and tag, or null if none is found.
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 type.
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.
Please see parent new function documentation for more info.
Allows the creation of a new instance with DI injection.
Gets a provider of T for the given type and tag.
Gets a provider of T for the given type and tag, curried from a factory for the given argument type.
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.