Beispiel #1
0
        /// <summary>
        /// Adds the specified TargetArea object to the collection.
        /// </summary>
        /// <param name="value">The TargetArea object to add to the collection.</param>
        /// <returns>The TargetArea object added to the collection.</returns>
        public TargetArea Add(TargetArea value)
        {
            // Use base class to process actual collection operation
            base.List.Add(value as object);

            return(value);
        }
Beispiel #2
0
 /// <summary>
 /// Returns the index of the first occurrence of the given TargetArea.
 /// </summary>
 /// <param name="value">The TargetArea to locate.</param>
 /// <returns>Index of object; otherwise -1</returns>
 public int IndexOf(TargetArea value)
 {
     // Find the 0 based index of the requested entry
     return(base.List.IndexOf(value));
 }
Beispiel #3
0
 /// <summary>
 /// Determines whether a TargetArea is in the collection.
 /// </summary>
 /// <param name="value">The TargetArea to locate in the collection.</param>
 /// <returns>true if item is found in the collection; otherwise, false.</returns>
 public bool Contains(TargetArea value)
 {
     // Use base class to process actual collection operation
     return(base.List.Contains(value as object));
 }
Beispiel #4
0
 /// <summary>
 /// Inserts a TargetArea instance into the collection at the specified location.
 /// </summary>
 /// <param name="index">The location in the collection where you want to add the TargetArea.</param>
 /// <param name="value">The TargetArea object to insert.</param>
 public void Insert(int index, TargetArea value)
 {
     // Use base class to process actual collection operation
     base.List.Insert(index, value as object);
 }
Beispiel #5
0
 /// <summary>
 /// Removes a TargetArea from the collection.
 /// </summary>
 /// <param name="value">A TargetArea to remove from the collection.</param>
 public void Remove(TargetArea value)
 {
     // Use base class to process actual collection operation
     base.List.Remove(value as object);
 }