Inheritance: NAnt.Core.Types.FileSet
Example #1
0
 /// <summary>
 /// Adds a <see cref="ZipFileSet"/> to the end of the collection.
 /// </summary>
 /// <param name="item">The <see cref="ZipFileSet"/> to be added to the end of the collection.</param> 
 /// <returns>The position into which the new element was inserted.</returns>
 public int Add(ZipFileSet item) {
     return base.List.Add(item);
 }
Example #2
0
 /// <summary>
 /// Adds the elements of a <see cref="ZipFileSet"/> array to the end of the collection.
 /// </summary>
 /// <param name="items">The array of <see cref="ZipFileSet"/> elements to be added to the end of the collection.</param> 
 public void AddRange(ZipFileSet[] items) {
     for (int i = 0; (i < items.Length); i = (i + 1)) {
         Add(items[i]);
     }
 }
Example #3
0
 /// <summary>
 /// Removes a member from the collection.
 /// </summary>
 /// <param name="item">The <see cref="ZipFileSet"/> to remove from the collection.</param>
 public void Remove(ZipFileSet item) {
     base.List.Remove(item);
 }
Example #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ZipFileSetCollection"/> class
 /// with the specified array of <see cref="ZipFileSet"/> instances.
 /// </summary>
 public ZipFileSetCollection(ZipFileSet[] value) {
     AddRange(value);
 }
Example #5
0
 /// <summary>
 /// Retrieves the index of a specified <see cref="ZipFileSet"/> object in the collection.
 /// </summary>
 /// <param name="item">The <see cref="ZipFileSet"/> object for which the index is returned.</param> 
 /// <returns>
 /// The index of the specified <see cref="ZipFileSet"/>. If the <see cref="ZipFileSet"/> is not currently a member of the collection, it returns -1.
 /// </returns>
 public int IndexOf(ZipFileSet item) {
     return base.List.IndexOf(item);
 }
Example #6
0
 /// <summary>
 /// Inserts a <see cref="ZipFileSet"/> into the collection 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 <see cref="ZipFileSet"/> to insert.</param>
 public void Insert(int index, ZipFileSet item) {
     base.List.Insert(index, item);
 }
Example #7
0
 /// <summary>
 /// Determines whether a <see cref="ZipFileSet"/> is in the collection.
 /// </summary>
 /// <param name="item">The <see cref="ZipFileSet"/> to locate in the collection.</param> 
 /// <returns>
 /// <see langword="true" /> if <paramref name="item"/> is found in the 
 /// collection; otherwise, <see langword="false" />.
 /// </returns>
 public bool Contains(ZipFileSet item) {
     return base.List.Contains(item);
 }
Example #8
0
 /// <summary>
 /// Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.        
 /// </summary>
 /// <param name="array">The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing.</param> 
 /// <param name="index">The zero-based index in <paramref name="array"/> at which copying begins.</param>
 public void CopyTo(ZipFileSet[] array, int index) {
     base.List.CopyTo(array, index);
 }
 /// <summary>
 /// Adds a <see cref="ZipFileSet"/> to the end of the collection.
 /// </summary>
 /// <param name="item">The <see cref="ZipFileSet"/> to be added to the end of the collection.</param>
 /// <returns>The position into which the new element was inserted.</returns>
 public int Add(ZipFileSet item)
 {
     return(base.List.Add(item));
 }
 /// <summary>
 /// Removes a member from the collection.
 /// </summary>
 /// <param name="item">The <see cref="ZipFileSet"/> to remove from the collection.</param>
 public void Remove(ZipFileSet item)
 {
     base.List.Remove(item);
 }
 /// <summary>
 /// Inserts a <see cref="ZipFileSet"/> into the collection 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 <see cref="ZipFileSet"/> to insert.</param>
 public void Insert(int index, ZipFileSet item)
 {
     base.List.Insert(index, item);
 }
 /// <summary>
 /// Retrieves the index of a specified <see cref="ZipFileSet"/> object in the collection.
 /// </summary>
 /// <param name="item">The <see cref="ZipFileSet"/> object for which the index is returned.</param>
 /// <returns>
 /// The index of the specified <see cref="ZipFileSet"/>. If the <see cref="ZipFileSet"/> is not currently a member of the collection, it returns -1.
 /// </returns>
 public int IndexOf(ZipFileSet item)
 {
     return(base.List.IndexOf(item));
 }
 /// <summary>
 /// Determines whether a <see cref="ZipFileSet"/> is in the collection.
 /// </summary>
 /// <param name="item">The <see cref="ZipFileSet"/> to locate in the collection.</param>
 /// <returns>
 /// <see langword="true" /> if <paramref name="item"/> is found in the
 /// collection; otherwise, <see langword="false" />.
 /// </returns>
 public bool Contains(ZipFileSet item)
 {
     return(base.List.Contains(item));
 }