Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        internal void preLoadApps()
        {
            AppItemCollection collection = new AppItemCollection();

            collection.Load();
        }