예제 #1
0
 /// <summary>
 /// Adds a <see cref="CommandLineArgument"/> to the end of the collection.
 /// </summary>
 /// <param name="item">The <see cref="CommandLineArgument"/> to be added to the end of the collection.</param>
 /// <returns>The position into which the new element was inserted.</returns>
 public int Add(CommandLineArgument item)
 {
     return(base.List.Add(item));
 }
예제 #2
0
 /// <summary>
 /// Removes a member from the collection.
 /// </summary>
 /// <param name="item">The <see cref="CommandLineArgument"/> to remove from the collection.</param>
 public void Remove(CommandLineArgument item)
 {
     base.List.Remove(item);
 }
예제 #3
0
 /// <summary>
 /// Retrieves the index of a specified <see cref="CommandLineArgument"/> object in the collection.
 /// </summary>
 /// <param name="item">The <see cref="CommandLineArgument"/> object for which the index is returned.</param>
 /// <returns>
 /// The index of the specified <see cref="CommandLineArgument"/>. If the <see cref="CommandLineArgument"/> is not currently a member of the collection, it returns -1.
 /// </returns>
 public int IndexOf(CommandLineArgument item)
 {
     return(base.List.IndexOf(item));
 }
예제 #4
0
 /// <summary>
 /// Inserts a <see cref="CommandLineArgument"/> 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="CommandLineArgument"/> to insert.</param>
 public void Insert(int index, CommandLineArgument item)
 {
     base.List.Insert(index, item);
 }
예제 #5
0
 /// <summary>
 /// Determines whether a <see cref="CommandLineArgument"/> is in the collection.
 /// </summary>
 /// <param name="item">The <see cref="CommandLineArgument"/> 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(CommandLineArgument item)
 {
     return(base.List.Contains(item));
 }