Esempio n. 1
0
 /// <summary>
 /// Removes an element from collection
 /// </summary>
 /// <param name="value">DataMap object to remove</param>
 public void Remove(DataMap value)
 {
     List.Remove(value);
 }
Esempio n. 2
0
 /// <summary>
 /// Inserts an element at given position
 /// </summary>
 /// <param name="index">Position (zero-based) to insert new element</param>
 /// <param name="value">DataMap object to insert</param>
 public void Insert(int index, DataMap value)
 {
     List.Insert(index, value);
 }
Esempio n. 3
0
 /// <summary>
 /// Adds a new DataMap to collection
 /// </summary>
 /// <param name="value">DataMap object to add</param>
 /// <returns></returns>
 public int Add(DataMap value)
 {
     return(List.Add(value));
 }
Esempio n. 4
0
 /// <summary>
 /// Retrieves the position of a element
 /// </summary>
 /// <param name="value">Element of which position is desired</param>
 /// <returns>Position of value (zero-based)</returns>
 public int IndexOf(DataMap value)
 {
     return(List.IndexOf(value));
 }
Esempio n. 5
0
 /// <summary>
 /// Checks if an object is contained whitin the collection
 /// </summary>
 /// <param name="value">DataMap object to check</param>
 /// <returns>Returns <code>true</code> if element is in the collection and <code>false</code> otherwise</returns>
 public bool Contains(DataMap value)
 {
     return(List.Contains(value));
 }