bind
inline fun <T : Any> DI.Builder.bind( tag: Any? = null, overrides: Boolean? = null, noinline createBinding: () -> DIBinding<*, *, T>)
Content copied to clipboard
Attaches a binding to the DI container
Parameters
T
The type of value to bind.
tag
The tag to bind.
overrides
Whether this bind must or must not override an existing binding.