public void Remove(CItem item) { string type = item.Get()["parent_type"]; if (!lists.ContainsKey(type)) { return; } CCategorizedList list; list = lists[type]; list.Remove(item); }
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); } }
public string MakePath(CItem _item) { string _path = ""; _path = Session._path + Session.__pathPrefix + @"\" + _item.ProducerId + " - " + _item.Id; return path = _path; }
abstract public void Remove(CItem item);