kodein-di
/
org.kodein.di
/
DI
/
Builder
/
ConstantBinder
common
Constant
Binder
interface
ConstantBinder
Content copied to clipboard
Left part of the constant-binding syntax (
constant(tag)
).
Functions
Extensions
Functions
With
Link copied to clipboard
common
abstract fun <
T
:
Any
>
With
(valueType:
TypeToken
<out
T
>, value:
T
)
Content copied to clipboard
Binds the previously given tag to the given instance.
Extensions
with
Link copied to clipboard
common
infix inline fun <
T
:
Any
>
DI.Builder.ConstantBinder
.
with
(value:
T
)
Content copied to clipboard
Binds the previously given tag to the given instance.