LazyServiceLookupBlueprint

class LazyServiceLookupBlueprint<T : Any>(map: Map<KClass<out T>, (Kontainer, InjectionContext) -> T>)

The blueprint is a pre-stage of the LazyServiceLookup and can be re-used with a InjectionContext

Constructors

Link copied to clipboard
fun <T : Any> LazyServiceLookupBlueprint(map: Map<KClass<out T>, (Kontainer, InjectionContext) -> T>)

Functions

Link copied to clipboard
fun getClasses(): Set<KClass<out T>>

Get the keys

Link copied to clipboard
fun with(kontainer: Kontainer, context: InjectionContext): LazyServiceLookup<T>

Creates a LazyServiceLookup for the given context