bind
abstract fun bind( tag: Any? = null, overrides: Boolean? = null, createBinding: () -> DIBinding<*, *, out T>)
Content copied to clipboard
Add a binding in the Set of type T, and also in the DI container
Parameters
tag
The tag to bind.
overrides
Whether this bind must or must not override an existing binding.
create Binding
The builder that should add binding in the set.