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 void Remove(CItem item) { string type = item.Get()["parent_type"]; if (!lists.ContainsKey(type)) { return; } CCategorizedList list; list = lists[type]; list.Remove(item); }