prototype0
fun <SRV : Any, IMPL : SRV> prototype0(srv: KClass<SRV>, factory: () -> IMPL): KontainerBuilder
Content copied to clipboard
inline fun <SRV : Any, IMPL : SRV> prototype0(noinline factory: () -> IMPL): KontainerBuilder
Content copied to clipboard
Create a Prototype via a factory method with 0 injected parameters
The service can by injected by the type SRV and its base types The actual implementation will have the type IMPL