SetBinder

interface SetBinder<T : Any>

Manage multiple bindings in a Set

Functions

Link copied to clipboard
abstract fun add(createBinding: () -> DIBinding<*, *, out T>)

Add a binding in the Set of type T

Link copied to clipboard
abstract fun bind(tag: Any? = null, overrides: Boolean? = null, createBinding: () -> DIBinding<*, *, out T>)

Add a binding in the Set of type T, and also in the DI container