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