Sub Types
class SubTypes<C : Any, A, T : Any>( val contextType: TypeToken<in C>, val argType: TypeToken<in A>, val createdType: TypeToken<out T>, val block: (TypeToken<out T>) -> DIBinding<in C, in A, out T>) : DIBinding<C, A, T>
Content copied to clipboard
Binding that holds multiple bindings for subtypes of T.
Parameters
C
The context type of all bindings in the set.
A
The argument type of all bindings in the set.
T
The provided type of all bindings in the set.
block
A function that provides a binding for each subtype.
Constructors
Functions
Link copied to clipboard
The full(er) name of this factory, used for debug print only.
Link copied to clipboard
The name of this factory, used for debug print only.
Link copied to clipboard