/// <summary> /// /// </summary> /// <param name="kvi"></param> public KeyValueItemCollection Remove(KeyValueItem kvi) { if (List.Contains(kvi)) { List.Remove(kvi); } return(this); }
/// <summary> /// /// </summary> /// <param name="kvi"></param> /// <returns></returns> public bool Contains(KeyValueItem kvi) { return(ListItems.Contains(kvi)); }
/// <summary> /// /// </summary> /// <param name="kvi"></param> public List <KeyValueItem> Remove(KeyValueItem kvi) { ListItems.Remove(kvi); return(ListItems); }
/// <summary> /// /// </summary> /// <param name="kvi"></param> public List <KeyValueItem> Add(KeyValueItem kvi) { ListItems.Add(kvi); return(ListItems); }
/// <summary> /// /// </summary> /// <param name="kvi"></param> public KeyValueItemCollection Add(KeyValueItem kvi) { List.Add(kvi); return(this); }