/// <summary> /// Gets the location of a <see cref="NamespaceImport"/> in the collection. /// </summary> /// <param name="value">The <see cref="NamespaceImport"/> object to locate.</param> /// <returns> /// The zero-based location of the <see cref="NamespaceImport" /> in the /// collection. /// </returns> /// <remarks> /// If the <see cref="NamespaceImport"/> is not currently a member of /// the collection, -1 is returned. /// </remarks> public int IndexOf(NamespaceImport value) { return(List.IndexOf(value)); }
/// <summary> /// Removes the specified <see cref="NamespaceImport"/> from the /// collection. /// </summary> /// <param name="value">The <see cref="NamespaceImport"/> to remove from the collection.</param> public void Remove(NamespaceImport value) { List.Remove(value); }
/// <summary> /// Determines whether a <see cref="NamespaceImport"/> is in the collection. /// </summary> /// <param name="value">The <see cref="NamespaceImport"/> to locate in the collection.</param> /// <returns> /// <see langword="true" /> if <paramref name="value" /> is found in the /// collection; otherwise, <see langword="false" />. /// </returns> public bool Contains(NamespaceImport value) { return(List.Contains(value)); }
public int Add(NamespaceImport value) { return(List.Add(value)); }
/// <summary> /// Inserts a <see cref="NamespaceImport" /> into the collection at the /// specified index. /// </summary> /// <param name="index">The zero-based index at which <paramref name="value"/> should be inserted.</param> /// <param name="value">The <see cref="NamespaceImport"/> to insert.</param> public void Insert(int index, NamespaceImport value) { List.Insert(index, value); }
/// <summary> /// Gets the location of a <see cref="NamespaceImport"/> in the collection. /// </summary> /// <param name="value">The <see cref="NamespaceImport"/> object to locate.</param> /// <returns> /// The zero-based location of the <see cref="NamespaceImport" /> in the /// collection. /// </returns> /// <remarks> /// If the <see cref="NamespaceImport"/> is not currently a member of /// the collection, -1 is returned. /// </remarks> public int IndexOf(NamespaceImport value) { return List.IndexOf(value); }
/// <summary> /// Determines whether a <see cref="NamespaceImport"/> is in the collection. /// </summary> /// <param name="value">The <see cref="NamespaceImport"/> to locate in the collection.</param> /// <returns> /// <see langword="true" /> if <paramref name="value" /> is found in the /// collection; otherwise, <see langword="false" />. /// </returns> public bool Contains(NamespaceImport value) { return List.Contains(value); }
public int Add(NamespaceImport value) { return List.Add(value); }