Esempio n. 1
0
 /// <summary>
 /// Determines wheter an element is in the collection.
 /// </summary>
 /// <param name="value">The BAPI_ACT_ELEMENT to locate in the collection.</param>
 /// <returns>True if found; else false.</returns>
 public bool Contains(BAPI_ACT_ELEMENT value)
 {
     return(List.Contains(value));
 }
Esempio n. 2
0
 /// <summary>
 /// Searches for the specified BAPI_ACT_ELEMENT and returnes the zero-based index of the first occurrence in the collection.
 /// </summary>
 /// <param name="value">The BAPI_ACT_ELEMENT to locate in the collection.</param>
 /// <returns>The index of the object found or -1.</returns>
 public int IndexOf(BAPI_ACT_ELEMENT value)
 {
     return(List.IndexOf(value));
 }
Esempio n. 3
0
 /// <summary>
 /// Adds a BAPI_ACT_ELEMENT to the end of the collection.
 /// </summary>
 /// <param name="value">The BAPI_ACT_ELEMENT to be added to the end of the collection.</param>
 /// <returns>The index of the newBAPI_ACT_ELEMENT.</returns>
 public int Add(BAPI_ACT_ELEMENT value)
 {
     return(List.Add(value));
 }
Esempio n. 4
0
 /// <summary>
 /// Inserts a BAPI_ACT_ELEMENT 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 BAPI_ACT_ELEMENT to insert.</param>
 public void Insert(int index, BAPI_ACT_ELEMENT value)
 {
     List.Insert(index, value);
 }
Esempio n. 5
0
 /// <summary>
 /// Removes the first occurrence of the specified BAPI_ACT_ELEMENT from the collection.
 /// </summary>
 /// <param name="value">The BAPI_ACT_ELEMENT to remove from the collection.</param>
 public void Remove(BAPI_ACT_ELEMENT value)
 {
     List.Remove(value);
 }