kodein-di
/
org.kodein.di
/
DIContext
/
Lazy
common
Lazy
class
Lazy
<
C
:
Any
>(type:
TypeToken
<in
C
>, getValue: () ->
C
) :
DIContext
<
C
>
Content copied to clipboard
Defines a context and its type to be used by DI
Constructors
Functions
Properties
Constructors
Lazy
Link copied to clipboard
common
fun <
C
:
Any
>
Lazy
(type:
TypeToken
<in
C
>, getValue: () ->
C
)
Content copied to clipboard
Functions
equals
Link copied to clipboard
common
open operator fun
equals
(other:
Any
?):
Boolean
Content copied to clipboard
hashCode
Link copied to clipboard
common
open fun
hashCode
():
Int
Content copied to clipboard
toString
Link copied to clipboard
common
open fun
toString
():
String
Content copied to clipboard
Properties
getValue
Link copied to clipboard
common
val
getValue
: () ->
C
Content copied to clipboard
type
Link copied to clipboard
common
open override val
type
:
TypeToken
<in
C
>
Content copied to clipboard
The type of the context, used to lookup corresponding bindings.
value
Link copied to clipboard
common
open override val
value
:
C
Content copied to clipboard
The context itself.