SimpleAutoContextTranslator

class SimpleAutoContextTranslator<S : Any>(val scopeType: TypeToken<in S>, t: DirectDI.() -> S) : ContextTranslator<Any, S>

Constructors

Link copied to clipboard
fun <S : Any> SimpleAutoContextTranslator(scopeType: TypeToken<in S>, t: DirectDI.() -> S)

Functions

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

Properties

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