AllFactories

fun <A, T : Any> <Error class: unknown class>.AllFactories(argType: TypeToken<in A>, type: TypeToken<out T>, tag: Any? = null): <Error class: unknown class><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

DI.DependencyLoopException

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