ContextTranslator

interface ContextTranslator<in C : Any, S : Any>

Functions

Link copied to clipboard
abstract fun translate(di: DirectDI, ctx: C): S?

Properties

Link copied to clipboard
abstract val contextType: TypeToken<in C>
Link copied to clipboard
abstract val scopeType: TypeToken<in S>

Inheritors

Link copied to clipboard
Link copied to clipboard

Extensions

Link copied to clipboard
fun <C : Any, S : Any> ContextTranslator<C, S>.toKContext(di: DirectDI, ctx: C): DIContext<S>?