DIContext

interface DIContext<C : Any>

Defines a context and its type to be used by Di

Types

Companion
Link copied to clipboard
common
object Companion
Lazy
Link copied to clipboard
common
class Lazy<C : Any>(type: TypeToken<in C>, getValue: () -> C) : DIContext<C>
Defines a context and its type to be used by DI
Value
Link copied to clipboard
common
data class Value<C : Any>(type: TypeToken<in C>, value: C) : DIContext<C>
Defines a context and its type to be used by DI

Properties

type
Link copied to clipboard
common
abstract val type: TypeToken<in C>
The type of the context, used to lookup corresponding bindings.
value
Link copied to clipboard
common
abstract val value: C
The context itself.

Inheritors

DIContext
Link copied to clipboard
DIContext
Link copied to clipboard
ErasedContext
Link copied to clipboard