kodein-di
7.13.0
common
kodein-di
/
org.kodein.di.bindings
/
SimpleContextTranslator
Simple
Context
Translator
common
class
SimpleContextTranslator
<
in
C
:
Any
,
S
:
Any
>
(
val
contextType
:
TypeToken
<
in
C
>
,
val
scopeType
:
TypeToken
<
in
S
>
,
t
:
DirectDI
.
(
ctx
:
C
)
->
S
?
)
:
ContextTranslator
<
C
,
S
>
Content copied to clipboard
Constructors
Functions
Properties
Constructors
Simple
Context
Translator
Link copied to clipboard
common
fun
<
in
C
:
Any
,
S
:
Any
>
SimpleContextTranslator
(
contextType
:
TypeToken
<
in
C
>
,
scopeType
:
TypeToken
<
in
S
>
,
t
:
DirectDI
.
(
ctx
:
C
)
->
S
?
)
Content copied to clipboard
Functions
to
String
Link copied to clipboard
common
open
override
fun
toString
(
)
:
String
Content copied to clipboard
translate
Link copied to clipboard
common
open
override
fun
translate
(
di
:
DirectDI
,
ctx
:
C
)
:
S
?
Content copied to clipboard
Properties
context
Type
Link copied to clipboard
common
open
override
val
contextType
:
TypeToken
<
in
C
>
Content copied to clipboard
scope
Type
Link copied to clipboard
common
open
override
val
scopeType
:
TypeToken
<
in
S
>
Content copied to clipboard