in Set
inline fun <T : Any> DI.Builder.TypeBinder<T>.inSet(): TypeBinderInSet<T, Set<T>>
Content copied to clipboard
inline fun <T : Any> DI.Builder.inSet( tag: Any? = null, overrides: Boolean? = null, creator: () -> DIBinding<*, *, T>)
Content copied to clipboard
Defines that the binding will be saved in a set binding.
T generics will be erased!
Parameters
T
The type of the binding.