DIProperty

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

Deprecated

This is an internal API, use LazyDelegate instead.

Replace with

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

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

Properties

Link copied to clipboard