All Factories
abstract fun <A, T : Any> AllFactories( argType: TypeToken<in A>, type: TypeToken<T>, tag: Any? = null): List<(A) -> T>
Content copied to clipboard
Gets all factories that can return a T for the given argument type, return type and tag.
Return
A list of matching factories of T.
Parameters
A
The type of argument the returned factory takes.
T
The type of object to retrieve with the returned factory.
arg Type
The type of argument the returned factory takes.
type
The type of object to retrieve with the returned factory.
tag
The bound tag, if any.
Throws
org. kodein. di. DI. Dependency Loop Exception
When calling the factory, if the value construction triggered a dependency loop.