Esempio n. 1
0
 /// <summary>
 /// Adds an element with the provided key and value to the <see cref="T:System.Collections.Generic.IDictionary`2" />.
 /// </summary>
 /// <param name="key">The object to use as the key of the element to add.</param>
 /// <param name="value">The object to use as the value of the element to add.</param>
 /// <exception cref="System.NotImplementedException"></exception>
 public void Add(TK1 key, TV1 value)
 {
     SubDictionary.Add(IntCast(key), IntCast(value));
 }
Esempio n. 2
0
 /// <summary>
 /// Adds an item to the <see cref="T:System.Collections.Generic.ICollection`1" />.
 /// </summary>
 /// <param name="item">The object to add to the <see cref="T:System.Collections.Generic.ICollection`1" />.</param>
 /// <exception cref="System.NotImplementedException"></exception>
 public void Add(KeyValuePair <TK1, TV1> item)
 {
     SubDictionary.Add(IntCast(item));
 }