inline fun <reified T : Any> registerService(noinline service: () -> T): Unit
(source)
Registers the given service for the service of type T.
fun <T : Any> registerService(serviceInterface: KClass<T>, service: () -> T): Unit
(source)
Registers the given service for the given serviceInterface.