toggle menu
kodein-di
7.25.0
common
switch theme
search in API
kodein-di
/
org.kodein.di.bindings
/
ContextTranslator
Context
Translator
common
interface
ContextTranslator
<
in
C
:
Any
,
S
:
Any
>
Inheritors
SimpleContextTranslator
SimpleAutoContextTranslator
Members
Members & Extensions
Properties
context
Type
Link copied to clipboard
common
abstract
val
contextType
:
TypeToken
<
in
C
>
scope
Type
Link copied to clipboard
common
abstract
val
scopeType
:
TypeToken
<
in
S
>
Functions
to
KContext
Link copied to clipboard
common
fun
<
C
:
Any
,
S
:
Any
>
ContextTranslator
<
C
,
S
>
.
toKContext
(
di
:
DirectDI
,
ctx
:
C
)
:
DIContext
<
S
>
?
translate
Link copied to clipboard
common
abstract
fun
translate
(
di
:
DirectDI
,
ctx
:
C
)
:
S
?