winter / io.jentz.winter / Injector / instancesOfType

instancesOfType

inline fun <reified R : Any> instancesOfType(generics: Boolean = false): Injector.InjectedProperty<Set<R>>

Creates and registers a property delegate for a Set of instances of type R.

Parameters

generics - Preserve generic type parameters.

Return
The created InjectedProperty.