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)

Functions

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
toString
Link copied to clipboard
common
open fun toString(): String

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.