Key
data class Key<in C : Any, in A, out T : Any>(contextType: TypeToken<in C>, argType: TypeToken<in A>, type: TypeToken<out T>, tag: Any?)
Content copied to clipboard
In DI, each DIBinding is bound to a Key. A Key holds all information necessary to retrieve a factory (and therefore an instance).
A key contains many types & a tag. It defines the types of the values that will be passed to and retrieved from DI, not the values themselves.
Parameters
C
The in context type.
A
The in argument type (Unit for a provider).
T
The out type.
Constructors
Functions
Properties
bindDescription
Link copied to clipboard
bindFullDescription
Link copied to clipboard
contextType
Link copied to clipboard
description
Link copied to clipboard
fullDescription
Link copied to clipboard
internalDescription
Link copied to clipboard