public void AppList(AppsTemplate template) { AppBaseCollection apps = AppManager.GetAllApps(); int i = 0; foreach (AppBase app in apps) { template(i++, app); } }