kodein-di
/
org.kodein.di
/
Typed
/
Companion
common
Companion
object
Companion
Content copied to clipboard
Functions
Functions
invoke
Link copied to clipboard
common
operator fun <
A
>
invoke
(type:
TypeToken
<
A
>, value:
A
):
Typed
<
A
>
Content copied to clipboard
Creates a
Typed
instance for the given type and value
operator fun <
A
>
invoke
(type:
TypeToken
<
A
>, func: () ->
A
):
Typed
<
A
>
Content copied to clipboard
Creates a
Typed
instance for the given type and value creator (which will be lazily called).