TypeBinder

interface TypeBinder<T : Any>

Left part of the type-binding syntax (bind(type, tag)).

Parameters

T

The type to bind.

Functions

Link copied to clipboard
abstract infix fun <C : Any, A> with(binding: DIBinding<in C, in A, out T>)

Binds the previously given type and tag to the given binding.

Extensions

Link copied to clipboard

Defines that the binding will be saved in a set binding.

Link copied to clipboard

Allows to bind in an existing set binding (rather than directly as a new binding).