Instance Binding
class InstanceBinding<T : Any>(createdType: TypeToken<out T>, 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
InstanceBinding
Link copied to clipboard
fun <T : Any> InstanceBinding(createdType: TypeToken<out T>, instance: T)
Content copied to clipboard
Functions
factory Full Name
Link copied to clipboard
The full(er) name of this factory, used for debug print only.
factory Name
Link copied to clipboard
The name of this factory, used for debug print only.
get Factory
Link copied to clipboard
Properties
contextType
Link copied to clipboard
createdType
Link copied to clipboard
description
Link copied to clipboard
fullDescription
Link copied to clipboard
supportSubTypes
Link copied to clipboard