ContextTranslator

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

Functions

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
toString
Link copied to clipboard
common
open fun toString(): String
translate
Link copied to clipboard
common
abstract fun translate(di: DirectDI, ctx: C): S?

Properties

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

Inheritors

SimpleContextTranslator
Link copied to clipboard
SimpleAutoContextTranslator
Link copied to clipboard

Extensions

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