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