DIDefinition

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

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

Constructors

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

Properties

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

The binding

fromModule
Link copied to clipboard
common
val fromModule: String?

The module name that defined the binding (for debug)

tree
Link copied to clipboard
common
val tree: DITree

The tree that this binding relates to.