Exemplo n.º 1
0
        public ItemInfoCollection GetItems(CatalogType catType)
        {
            if (_items == null)
            {
                _items = new ItemInfoCollection();
                foreach (ItemInfo item in Marketplace.Catalogs[catType].Items.Values)
                {
                    if (Util.AreEqualIgnoreCase(item.CreatorId, Id))
                        _items.Add(item.Id, item);
                }
            }

            return _items;
        }