DependencyResolverContext

data class DependencyResolverContext(val resolver: DependencyResolver, val name: String)(source)

Context for property delegation with chaining (i.e., dependencies.named("foo"))

Report a problem

Constructors

Link copied to clipboard
constructor(resolver: DependencyResolver, name: String)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
inline operator fun <T> getValue(thisRef: Any?, property: KProperty<*>): T

Property delegation for DependencyResolverContext for use with the named shorthand for string qualifiers.

Link copied to clipboard
inline suspend fun <T> DependencyResolver.resolve(key: String? = null): T

Get the dependency from the map for the key represented by the type (and optionally, with the given name).