Instance Binding
class InstanceBinding<T : Any>(val createdType: TypeToken<out T>, val instance: T) : NoArgDIBinding<Any, T>
Content copied to clipboard
Concrete instance provider: will always return the given instance.
Parameters
T
The type of the instance.
created Type
The type of the object, used for debug print only.
Constructors
Link copied to clipboard
fun <T : Any> InstanceBinding(createdType: TypeToken<out T>, instance: T)
Content copied to clipboard
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