DIProperty

class DIProperty<out V>(trigger: DITrigger?, originalContext: DIContext<*>, get: (DIContext<*>, String) -> V) : LazyDelegate<V>

A property delegate provider for DI retrieval. Provides a Lazy value that, when accessed, retrieve the value from DI.

In essence, the DI object is accessed only upon retrieving.

Constructors

DIProperty
Link copied to clipboard
common
fun <out V> DIProperty(trigger: DITrigger?, originalContext: DIContext<*>, get: (DIContext<*>, String) -> V)

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

originalContext
Link copied to clipboard
common
val originalContext: DIContext<*>