Пример #1
0
        public override void Remove(CItem item)
        {
            Dictionary <string, string> t = item.Get();

            List <CNotebook> list = lists[item.Get()["parent_type"]];

            if (!lists.ContainsKey(item.Get()["parent_type"]))
            {
                return;
            }

            if (list.Contains(item))
            {
                list.Remove((CNotebook)item);
            }
        }
Пример #2
0
        public void Remove(CItem item)
        {
            string type = item.Get()["parent_type"];

            if (!lists.ContainsKey(type))
            {
                return;
            }

            CCategorizedList list;

            list = lists[type];
            list.Remove(item);
        }