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