kodein-di
/
org.kodein.di
/
LazyDI
common
Lazy
D
I
class
LazyDI
(f: () ->
DI
) :
DI
Content copied to clipboard
DI object that defers all method to a DI object that will be created only upon first retrieval.
Constructors
Functions
Properties
Constructors
LazyDI
Link copied to clipboard
common
fun
LazyDI
(f: () ->
DI
)
Content copied to clipboard
Functions
equals
Link copied to clipboard
common
open operator fun
equals
(other:
Any
?):
Boolean
Content copied to clipboard
getValue
Link copied to clipboard
common
operator fun
getValue
(thisRef:
Any
?, property:
KProperty
<*>):
LazyDI
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
baseDI
Link copied to clipboard
common
val
baseDI
:
DI
Content copied to clipboard
The real DI object that will be created upon first retrieval (or manual access).
container
Link copied to clipboard
common
open override val
container
:
DIContainer
Content copied to clipboard
Every methods eventually ends up to a call to this container.
di
Link copied to clipboard
common
open override val
di
:
DI
Content copied to clipboard
A DI Aware class must be within reach of a
DI
object.
diContext
Link copied to clipboard
common
open val
diContext
:
DIContext
<*>
Content copied to clipboard
A DI Aware class can define a context that is for all retrieval by overriding this property.
diTrigger
Link copied to clipboard
common
open val
diTrigger
:
DITrigger
?
Content copied to clipboard
Trigger to use that define when the retrieval will be done.