DIDefining

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

A binding that is being defined inside a DI.Builder bloc.

The associated DITree has not be created yet.

Constructors

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

Properties

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

The binding

fromModule
Link copied to clipboard
val fromModule: String?

The module name that defined the binding (for debug)

Inheritors

DIDefinition
Link copied to clipboard