In Set
fun <T : Any> DI.Builder.TypeBinder<T>.InSet(setTypeToken: TypeToken<Set<T>>): TypeBinderInSet<T, Set<T>>
Content copied to clipboard
Allows to bind in an existing set binding (rather than directly as a new binding).
First part of the bind<Type>().inSet() with binding syntax.
Parameters
T
The provided type of all bindings in the set.
set Type Token
The type of the bound set.