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
equals
Link copied to clipboard
common
open operator fun
equals
(other:
Any
?):
Boolean
Content copied to clipboard
hashCode
Link copied to clipboard
common
open fun
hashCode
():
Int
Content copied to clipboard
toString
Link copied to clipboard
common
open fun
toString
():
String
Content copied to clipboard
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.