Get a all instance for given class (in primary or secondary type) @param clazz T
@return list of instances of type T
List<T> getAllWithType<T>(Type type) => _instanceRegistry.getAllByType(type);