/// <summary> /// Adds a <see cref='Join'/> with the specified value to the /// <see cref='JoinCollection'/>. /// </summary> /// <param name='val'>The <see cref='Join'/> to add.</param> /// <returns>The index at which the new element was inserted.</returns> /// <seealso cref='JoinCollection.AddRange'/> internal int Add(Join val) { return(List.Add(val)); }
/// <summary> /// Removes a specific <see cref='Join'/> from the <see cref='JoinCollection'/>. /// </summary> /// <param name='val'>The <see cref='Join'/> to remove from the <see cref='JoinCollection'/>.</param> /// <exception cref='ArgumentException'><paramref name='val'/> is not found in the Collection.</exception> internal void Remove(Join val) { List.Remove(val); }
/// <summary> /// Returns the index of a <see cref='Join'/> in /// the <see cref='JoinCollection'/>. /// </summary> /// <param name='val'>The <see cref='Join'/> to locate.</param> /// <returns> /// The index of the <see cref='Join'/> of <paramref name='val'/> in the /// <see cref='JoinCollection'/>, if found; otherwise, -1. /// </returns> /// <seealso cref='JoinCollection.Contains'/> public int IndexOf(Join val) { return(List.IndexOf(val)); }
/// <summary> /// Inserts a <see cref='Join'/> into the <see cref='JoinCollection'/> at the specified index. /// </summary> /// <param name='index'>The zero-based index where <paramref name='val'/> should be inserted.</param> /// <param name='val'>The <see cref='Join'/> to insert.</param> /// <seealso cref='JoinCollection.Add'/> internal void Insert(int index, Join val) { List.Insert(index, val); }
/// <summary> /// Gets a value indicating whether the /// <see cref='JoinCollection'/> contains the specified <see cref='Join'/>. /// </summary> /// <param name='val'>The <see cref='Join'/> to locate.</param> /// <returns> /// <see langword='true'/> if the <see cref='Join'/> is contained in the collection; /// otherwise, <see langword='false'/>. /// </returns> /// <seealso cref='JoinCollection.IndexOf'/> public bool Contains(Join val) { return(List.Contains(val)); }