ConstantBinder

interface ConstantBinder

Left part of the constant-binding syntax (constant(tag)).

Functions

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
toString
Link copied to clipboard
common
open fun toString(): String
With
Link copied to clipboard
common
abstract fun <T : Any> With(valueType: TypeToken<out T>, value: T)
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)
Binds the previously given tag to the given instance.