internal AppItemCollection getAppCollectionByType(int type) { AppItemCollection collection = new AppItemCollection(); foreach (AppItemCollection temp in this.appItemCollectionDictionary.Values) { if (temp.Count > 0) { if (temp[0].Type == type) { foreach (var app in temp) { if (app is AddAppItem) { continue; } collection.Add(app); } } } } collection.Add(this.createAddAppItem()); return(collection); }
internal void preLoadApps() { AppItemCollection collection = new AppItemCollection(); collection.Load(); }