Пример #1
0
 /// <summary>
 /// Determines wheter an element is in the collection.
 /// </summary>
 /// <param name="value">The X031L to locate in the collection.</param>
 /// <returns>True if found; else false.</returns>
 public bool Contains(X031L value)
 {
     return(List.Contains(value));
 }
Пример #2
0
 /// <summary>
 /// Searches for the specified X031L and returnes the zero-based index of the first occurrence in the collection.
 /// </summary>
 /// <param name="value">The X031L to locate in the collection.</param>
 /// <returns>The index of the object found or -1.</returns>
 public int IndexOf(X031L value)
 {
     return(List.IndexOf(value));
 }
Пример #3
0
 /// <summary>
 /// Adds a X031L to the end of the collection.
 /// </summary>
 /// <param name="value">The X031L to be added to the end of the collection.</param>
 /// <returns>The index of the newX031L.</returns>
 public int Add(X031L value)
 {
     return(List.Add(value));
 }
Пример #4
0
 /// <summary>
 /// Inserts a X031L into the collection at the specified index.
 /// </summary>
 /// <param name="index">The zero-based index at which value should be inserted.</param>
 /// <param name="value">The X031L to insert.</param>
 public void Insert(int index, X031L value)
 {
     List.Insert(index, value);
 }
Пример #5
0
 /// <summary>
 /// Removes the first occurrence of the specified X031L from the collection.
 /// </summary>
 /// <param name="value">The X031L to remove from the collection.</param>
 public void Remove(X031L value)
 {
     List.Remove(value);
 }