kodein-di
7.13.0
common
kodein-di
/
org.kodein.di.bindings
/
SimpleAutoContextTranslator
Simple
Auto
Context
Translator
common
class
SimpleAutoContextTranslator
<
S
:
Any
>
(
val
scopeType
:
TypeToken
<
in
S
>
,
t
:
DirectDI
.
(
)
->
S
)
:
ContextTranslator
<
Any
,
S
>
Content copied to clipboard
Constructors
Functions
Properties
Constructors
Simple
Auto
Context
Translator
Link copied to clipboard
common
fun
<
S
:
Any
>
SimpleAutoContextTranslator
(
scopeType
:
TypeToken
<
in
S
>
,
t
:
DirectDI
.
(
)
->
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
:
Any
)
:
S
Content copied to clipboard
Properties
context
Type
Link copied to clipboard
common
open
override
val
contextType
:
TypeToken
<
Any
>
Content copied to clipboard
scope
Type
Link copied to clipboard
common
open
override
val
scopeType
:
TypeToken
<
in
S
>
Content copied to clipboard