kodein-di
/
org.kodein.di
/
DIDefinition
common
D
I
Definition
class
DIDefinition
<
C
:
Any
,
A
,
T
:
Any
>(binding:
DIBinding
<
C
,
A
,
T
>, fromModule:
String
?, tree:
DITree
) :
DIDefining
<
C
,
A
,
T
>
Content copied to clipboard
A definition is a binding that is associated to a
DITree
.
Constructors
Properties
Constructors
DIDefinition
Link copied to clipboard
common
fun <
C
:
Any
,
A
,
T
:
Any
>
DIDefinition
(binding:
DIBinding
<
C
,
A
,
T
>, fromModule:
String
?, tree:
DITree
)
Content copied to clipboard
Properties
binding
Link copied to clipboard
common
val
binding
:
DIBinding
<
C
,
A
,
T
>
Content copied to clipboard
The binding
fromModule
Link copied to clipboard
common
val
fromModule
:
String
?
Content copied to clipboard
The module name that defined the binding (for debug)
tree
Link copied to clipboard
common
val
tree
:
DITree
Content copied to clipboard
The tree that this binding relates to.