bindArgSet

inline fun <A : Any, T : Any> DI.Builder.bindArgSet(tag: Any? = null, overrides: Boolean? = null)

Creates a set: multiple bindings can be added in this set.

T generics will be erased!

Parameters

A

The argument type.

T

The created type.


inline fun <A : Any, T : Any> DI.Builder.bindArgSet(tag: Any? = null, overrides: Boolean? = null, noinline creator: DI.Builder.ArgSetBinder<A, T>.() -> Unit)

Creates a set and add multiple bindings to it.

T generics will be erased!

Parameters

A

The argument type.

T

The created type.

creator

The builder that should add binding in the set.