SimpleContextTranslator

class SimpleContextTranslator<in C : Any, S : Any>(    val contextType: TypeToken<in C>,     val scopeType: TypeToken<in S>,     t: DirectDI.(ctx: C) -> S?) : ContextTranslator<C, S>

Constructors

Link copied to clipboard
fun <in C : Any, S : Any> SimpleContextTranslator(    contextType: TypeToken<in C>,     scopeType: TypeToken<in S>,     t: DirectDI.(ctx: C) -> S?)

Functions

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open override fun translate(di: DirectDI, ctx: C): S?

Properties

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