to

inline fun <A : T> to(tag: Any? = null)

Delegates the binding of a given type with a given tag.

Return

The binder: call TypeBinder.with) on it to finish the binding syntax and register the binding.

Parameters

T

The type of value to bind.

type

The type to delegate the binding to.

tag

The tag to bind.