BindInSet

abstract fun <T : Any> BindInSet(tag: Any? = null, overrides: Boolean? = null, type: TypeToken<out T>, creator: DI.Builder.SetBinder<T>.() -> Unit)

Creates a Set binding of a given type with a given tag and attaches multiple bindings to it.

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.