contexted

inline fun <C : Any> DI.Builder.contexted(): DI.BindBuilder<C>

Used to define bindings with a context: bind<MyType>() with contexted<MyContext>().provider { /*...*/ }

Parameters

C

The context type.