Exemplo n.º 1
0
 /// <summary>
 /// Determines whether the <see cref="BaseInformationEntityList"/> contains a specific element.
 /// </summary>
 /// <param name="value">The <see cref="BaseInformationEntity"/> to locate in the <see cref="BaseInformationEntityList"/>.</param>
 /// <returns>
 /// <c>true</c> if the <see cref="BaseInformationEntityList"/> contains the specified value;
 /// otherwise, <c>false</c>.
 /// </returns>
 public bool Contains(BaseInformationEntity value)
 {
     // If value is not of type Code, this will return false.
     return(List.Contains(value));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Removes the first occurrence of a specific <see cref="BaseInformationEntity"/> from the <see cref="BaseInformationEntityList"/>.
 /// </summary>
 /// <param name="value">The <see cref="BaseInformationEntity"/> to remove from the <see cref="BaseInformationEntityList"/>.</param>
 public void Remove(BaseInformationEntity value)
 {
     List.Remove(value);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Searches for the specified <see cref="BaseInformationEntity"/> and
 /// returns the zero-based index of the first occurrence within the entire <see cref="BaseInformationEntityList"/>.
 /// </summary>
 /// <param name="value">The <see cref="BaseInformationEntity"/> to locate in the <see cref="BaseInformationEntityList"/>.</param>
 /// <returns>
 /// The zero-based index of the first occurrence of value within the entire <see cref="BaseInformationEntityList"/>,
 /// if found; otherwise, -1.
 /// </returns>
 public int IndexOf(BaseInformationEntity value)
 {
     return(List.IndexOf(value));
 }
Exemplo n.º 4
0
 /// <summary>
 /// Inserts an <see cref="BaseInformationEntity"/> element into the <see cref="BaseInformationEntity"/> at the specified index.
 /// </summary>
 /// <param name="index">The zero-based index at which value should be inserted.</param>
 /// <param name="value">The <see cref="BaseInformationEntityList"/> to insert.</param>
 public void Insert(int index, BaseInformationEntity value)
 {
     List.Insert(index, value);
 }
Exemplo n.º 5
0
 /// <summary>
 /// Adds an object to the end of the <see cref="BaseInformationEntityList"/>.
 /// </summary>
 /// <param name="value">The <see cref="BaseInformationEntity"/> to be added to the end of the <see cref="BaseInformationEntityList"/>.</param>
 /// <returns>The <see cref="BaseInformationEntityList"/> index at which the value has been added.</returns>
 public int Add(BaseInformationEntity value)
 {
     return(List.Add(value));
 }