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.
createdType
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
The type of the instance.
Functions
factoryFullName
Link copied to clipboard
factoryName
Link copied to clipboard
getFactory
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