DIDefinition

class DIDefinition<C : Any, A, T : Any>(    binding: DIBinding<C, A, T>,     fromModule: String?,     val tree: DITree) : DIDefining<C, A, T>

A definition is a binding that is associated to a DITree.

Constructors

Link copied to clipboard
fun <C : Any, A, T : Any> DIDefinition(    binding: DIBinding<C, A, T>,     fromModule: String?,     tree: DITree)

Properties

Link copied to clipboard
val binding: DIBinding<C, A, T>

The binding

Link copied to clipboard
val fromModule: String?

The module name that defined the binding (for debug)

Link copied to clipboard
val tree: DITree

The tree that this binding relates to.