Factory

fun <C : Any, A, T : Any> Factory(contextType: TypeToken<in C>, argType: TypeToken<in A>, createdType: TypeToken<out T>, creator: BindingDI<C>.(A) -> T)

Parameters

A

The argument type.

T

The created type.

argType

The type of the argument used by this factory.

createdType

The type of objects created by this factory.