LazyServiceLookupBlueprint

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

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

Constructors

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

Functions

with
Link copied to clipboard
fun with(context: InjectionContext): LazyServiceLookup<T>
Creates a LazyServiceLookup for the given context