AllFactories

fun <A, T : Any> DIAware.AllFactories(    argType: TypeToken<in A>,     type: TypeToken<out T>,     tag: Any? = null): LazyDelegate<List<(A) -> T>>

Gets all factories that match the the given argument type, return type and tag.

Return

A list of factories of T.

Parameters

A

The type of argument the factories take.

T

The type of object to retrieve with the factories.

argType

The type of argument the factories take.

type

The type of object to retrieve with the factories.

tag

The bound tag, if any.

Throws

org.kodein.di.DI.DependencyLoopException

When calling the factory, if the value construction triggered a dependency loop.