To

abstract fun <A : T> To(type: TypeToken<A>, tag: Any?)

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.