Inheritance: NAnt.Core.Element
コード例 #1
0
 /// <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));
 }
コード例 #2
0
 /// <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);
 }
コード例 #3
0
 /// <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));
 }
コード例 #4
0
 public int Add(NamespaceImport value)
 {
     return(List.Add(value));
 }
コード例 #5
0
 /// <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);
 }
コード例 #6
0
 /// <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);
 }
コード例 #7
0
 /// <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);
 }
コード例 #8
0
 /// <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);
 }
コード例 #9
0
 /// <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);
 }
コード例 #10
0
 public int Add(NamespaceImport value)
 {
     return List.Add(value);
 }