Value

data class Value<C : Any>(val type: TypeToken<in C>, val value: C) : DIContext<C>

Defines a context and its type to be used by DI

Constructors

Link copied to clipboard
constructor(type: TypeToken<in C>, value: C)

Properties

Link copied to clipboard
open override val type: TypeToken<in C>

The type of the context, used to lookup corresponding bindings.

Link copied to clipboard
open override val value: C

The context itself.