/// <summary> /// Removes the first occurrence of a specific object from the <see cref = "T:System.Collections.Generic.ICollection`1" />. /// </summary> /// <returns> /// true if <paramref name = "item" /> was successfully removed from the <see cref = "T:System.Collections.Generic.ICollection`1" />; otherwise, false. This method also returns false if <paramref name = "item" /> is not found in the original <see cref = "T:System.Collections.Generic.ICollection`1" />. /// </returns> /// <param name = "item">The object to remove from the <see cref = "T:System.Collections.Generic.ICollection`1" />.</param> /// <exception cref = "T:System.NotSupportedException">The <see cref = "T:System.Collections.Generic.ICollection`1" /> is read-only.</exception> public bool Remove(IEntityAdaptorVertex <T> item) { return(innerList.Remove(item)); }
/// <summary> /// Determines whether the <see cref = "T:System.Collections.Generic.ICollection`1" /> contains a specific value. /// </summary> /// <returns> /// true if <paramref name = "item" /> is found in the <see cref = "T:System.Collections.Generic.ICollection`1" />; otherwise, false. /// </returns> /// <param name = "item">The object to locate in the <see cref = "T:System.Collections.Generic.ICollection`1" />.</param> public bool Contains(IEntityAdaptorVertex <T> item) { return(innerList.Contains(item)); }
/// <summary> /// Inserts an item to the <see cref = "T:System.Collections.Generic.IList`1" /> at the specified index. /// </summary> /// <param name = "index">The zero-based index at which <paramref name = "item" /> should be inserted.</param> /// <param name = "item">The object to insert into the <see cref = "T:System.Collections.Generic.IList`1" />.</param> /// <exception cref = "T:System.ArgumentOutOfRangeException"><paramref name = "index" /> is not a valid index in the <see cref = "T:System.Collections.Generic.IList`1" />.</exception> /// <exception cref = "T:System.NotSupportedException">The <see cref = "T:System.Collections.Generic.IList`1" /> is read-only.</exception> public void Insert(int index, IEntityAdaptorVertex <T> item) { innerList.Insert(index, item); }
/// <summary> /// Adds an item to the <see cref = "T:System.Collections.Generic.ICollection`1" />. /// </summary> /// <param name = "item">The object to add to the <see cref = "T:System.Collections.Generic.ICollection`1" />.</param> /// <exception cref = "T:System.NotSupportedException">The <see cref = "T:System.Collections.Generic.ICollection`1" /> is read-only.</exception> public void Add(IEntityAdaptorVertex <T> item) { innerList.Add(item); }
/// <summary> /// Determines the index of a specific item in the <see cref = "T:System.Collections.Generic.IList`1" />. /// </summary> /// <returns> /// The index of <paramref name = "item" /> if found in the list; otherwise, -1. /// </returns> /// <param name = "item">The object to locate in the <see cref = "T:System.Collections.Generic.IList`1" />.</param> public int IndexOf(IEntityAdaptorVertex <T> item) { return(innerList.IndexOf(item)); }