fun <reified T : Any> getAll(): List<T>
Get a all instance for given inferred class (in primary or secondary type)
Return
list of instances of type T
fun <T : Any> getAll(clazz: KClass<*>): List<T>
Get a all instance for given class (in primary or secondary type)
Return
list of instances of type T