/// <summary>
 ///
 /// </summary>
 /// <param name="kvi"></param>
 public KeyValueItemCollection Remove(KeyValueItem kvi)
 {
     if (List.Contains(kvi))
     {
         List.Remove(kvi);
     }
     return(this);
 }
示例#2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="kvi"></param>
 /// <returns></returns>
 public bool Contains(KeyValueItem kvi)
 {
     return(ListItems.Contains(kvi));
 }
示例#3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="kvi"></param>
 public List <KeyValueItem> Remove(KeyValueItem kvi)
 {
     ListItems.Remove(kvi);
     return(ListItems);
 }
示例#4
0
 /// <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);
 }