Example #1
0
 /// <summary>
 /// Removes the first occurrence of a specific AtomParticipant from this AtomParticipantCollection.
 /// </summary>
 /// <param name="value">
 /// The AtomParticipant value to remove from this AtomParticipantCollection.
 /// </param>
 public virtual void Remove(AtomParticipant value)
 {
     this.List.Remove(value);
 }
Example #2
0
 /// <summary>
 /// Return the zero-based index of the first occurrence of a specific value
 /// in this AtomParticipantCollection
 /// </summary>
 /// <param name="value">
 /// The AtomParticipant value to locate in the AtomParticipantCollection.
 /// </param>
 /// <returns>
 /// The zero-based index of the first occurrence of the _ELEMENT value if found;
 /// -1 otherwise.
 /// </returns>
 public virtual int IndexOf(AtomParticipant value)
 {
     return(this.List.IndexOf(value));
 }
Example #3
0
 /// <summary>
 /// Inserts an element into the AtomParticipantCollection at the specified index
 /// </summary>
 /// <param name="index">
 /// The index at which the AtomParticipant is to be inserted.
 /// </param>
 /// <param name="value">
 /// The AtomParticipant to insert.
 /// </param>
 public virtual void Insert(int index, AtomParticipant value)
 {
     this.List.Insert(index, value);
 }
Example #4
0
 /// <summary>
 /// Adds an instance of type AtomParticipant to the end of this AtomParticipantCollection.
 /// </summary>
 /// <param name="value">
 /// The AtomParticipant to be added to the end of this AtomParticipantCollection.
 /// </param>
 public virtual void Add(AtomParticipant value)
 {
     this.List.Add(value);
 }
Example #5
0
 /// <summary>
 /// Determines whether a specfic AtomParticipant value is in this AtomParticipantCollection.
 /// </summary>
 /// <param name="value">
 /// The AtomParticipant value to locate in this AtomParticipantCollection.
 /// </param>
 /// <returns>
 /// true if value is found in this AtomParticipantCollection;
 /// false otherwise.
 /// </returns>
 public virtual bool Contains(AtomParticipant value)
 {
     return(this.List.Contains(value));
 }
Example #6
0
		/// <summary>
		/// Inserts an element into the AtomParticipantCollection at the specified index
		/// </summary>
		/// <param name="index">
		/// The index at which the AtomParticipant is to be inserted.
		/// </param>
		/// <param name="value">
		/// The AtomParticipant to insert.
		/// </param>
		public virtual void Insert(int index, AtomParticipant value)
		{
			this.List.Insert(index, value);
		}
Example #7
0
		/// <summary>
		/// Removes the first occurrence of a specific AtomParticipant from this AtomParticipantCollection.
		/// </summary>
		/// <param name="value">
		/// The AtomParticipant value to remove from this AtomParticipantCollection.
		/// </param>
		public virtual void Remove(AtomParticipant value)
		{
			this.List.Remove(value);
		}
Example #8
0
		/// <summary>
		/// Return the zero-based index of the first occurrence of a specific value
		/// in this AtomParticipantCollection
		/// </summary>
		/// <param name="value">
		/// The AtomParticipant value to locate in the AtomParticipantCollection.
		/// </param>
		/// <returns>
		/// The zero-based index of the first occurrence of the _ELEMENT value if found;
		/// -1 otherwise.
		/// </returns>
		public virtual int IndexOf(AtomParticipant value)
		{
			return this.List.IndexOf(value);
		}
Example #9
0
		/// <summary>
		/// Determines whether a specfic AtomParticipant value is in this AtomParticipantCollection.
		/// </summary>
		/// <param name="value">
		/// The AtomParticipant value to locate in this AtomParticipantCollection.
		/// </param>
		/// <returns>
		/// true if value is found in this AtomParticipantCollection;
		/// false otherwise.
		/// </returns>
		public virtual bool Contains(AtomParticipant value)
		{
			return this.List.Contains(value);
		}
Example #10
0
		/// <summary>
		/// Adds an instance of type AtomParticipant to the end of this AtomParticipantCollection.
		/// </summary>
		/// <param name="value">
		/// The AtomParticipant to be added to the end of this AtomParticipantCollection.
		/// </param>
		public virtual void Add(AtomParticipant value)
		{
			this.List.Add(value);
		}
Example #11
0
		/// <summary>
		/// Adds the elements of an array to the end of this AtomParticipantCollection.
		/// </summary>
		/// <param name="participants">
		/// The array whose elements are to be added to the end of this AtomParticipantCollection.
		/// </param>
		public virtual void AddRange(AtomParticipant[] participants)
		{
			foreach (AtomParticipant participant in participants)
			{
				this.List.Add(participant);
			}
		}
Example #12
0
		/// <summary>
		/// Initializes a new instance of the AtomParticipantCollection class, containing elements
		/// copied from an array.
		/// </summary>
		/// <param name="participants">
		/// The array whose elements are to be added to the new AtomParticipantCollection.
		/// </param>
		public AtomParticipantCollection(AtomParticipant[] participants)
		{
			this.AddRange(participants);
		}