Пример #1
0
 /// <summary>
 ///     Determines whether the RssModuleItemCollection contains a specific element.
 /// </summary>
 /// <param name="rssModuleItem"> The RssModuleItem to locate in the RssModuleItemCollection. </param>
 /// <returns> true if the RssModuleItemCollection contains the specified value; otherwise, false. </returns>
 public bool Contains(RssModuleItem rssModuleItem)
 {
     return(this.List.Contains(rssModuleItem));
 }
Пример #2
0
 /// <summary>
 ///     Searches for the specified RssModuleItem and returns the zero-based index of the first occurrence within the entire RssModuleItemCollection.
 /// </summary>
 /// <param name="rssModuleItem"> The RssModuleItem to locate in the RssModuleItemCollection. </param>
 /// <returns> The zero-based index of the first occurrence of RssModuleItem within the entire RssModuleItemCollection, if found; otherwise, -1. </returns>
 public int IndexOf(RssModuleItem rssModuleItem)
 {
     return(this.List.IndexOf(rssModuleItem));
 }
Пример #3
0
 /// <summary>
 ///     Removes a specified item from this collection.
 /// </summary>
 /// <param name="rssModuleItem"> The item to remove. </param>
 public void Remove(RssModuleItem rssModuleItem)
 {
     this.List.Remove(rssModuleItem);
 }
Пример #4
0
 /// <summary>
 ///     Adds a specified item to this collection.
 /// </summary>
 /// <param name="rssModuleItem"> The item to add. </param>
 /// <returns> The zero-based index of the added item. </returns>
 public int Add(RssModuleItem rssModuleItem)
 {
     return(this.List.Add(rssModuleItem));
 }
 /// <summary>
 ///     Searches for the specified RssModuleItem and returns the zero-based index of the first occurrence within the entire RssModuleItemCollection.
 /// </summary>
 /// <param name="rssModuleItem"> The RssModuleItem to locate in the RssModuleItemCollection. </param>
 /// <returns> The zero-based index of the first occurrence of RssModuleItem within the entire RssModuleItemCollection, if found; otherwise, -1. </returns>
 public int IndexOf(RssModuleItem rssModuleItem)
 {
     return this.List.IndexOf(rssModuleItem);
 }
Пример #6
0
 /// <summary>
 ///     Inserts an item into this collection at a specified index.
 /// </summary>
 /// <param name="index"> The zero-based index of the collection at which to insert the item. </param>
 /// <param name="rssModuleItem"> The item to insert into this collection. </param>
 public void Insert(int index, RssModuleItem rssModuleItem)
 {
     this.List.Insert(index, rssModuleItem);
 }
 /// <summary>
 ///     Copies the entire RssModuleItemCollection to a compatible one-dimensional <see cref="Array" />, starting at the specified index of the target array.
 /// </summary>
 /// <param name="array"> The one-dimensional RssModuleItem Array that is the destination of the elements copied from RssModuleItemCollection. The Array must have zero-based indexing. </param>
 /// <param name="index"> The zero-based index in array at which copying begins. </param>
 /// <exception cref="ArgumentNullException">array is a null reference (Nothing in Visual Basic).</exception>
 /// <exception cref="ArgumentOutOfRangeException">index is less than zero.</exception>
 /// <exception cref="ArgumentException">array is multidimensional. -or- index is equal to or greater than the length of array.-or-The number of elements in the source RssModuleItemCollection is greater than the available space from index to the end of the destination array.</exception>
 public void CopyTo(RssModuleItem[] array, int index)
 {
     this.List.CopyTo(array, index);
 }
 /// <summary>
 ///     Determines whether the RssModuleItemCollection contains a specific element.
 /// </summary>
 /// <param name="rssModuleItem"> The RssModuleItem to locate in the RssModuleItemCollection. </param>
 /// <returns> true if the RssModuleItemCollection contains the specified value; otherwise, false. </returns>
 public bool Contains(RssModuleItem rssModuleItem)
 {
     return this.List.Contains(rssModuleItem);
 }
 /// <summary>
 ///     Adds a specified item to this collection.
 /// </summary>
 /// <param name="rssModuleItem"> The item to add. </param>
 /// <returns> The zero-based index of the added item. </returns>
 public int Add(RssModuleItem rssModuleItem)
 {
     return this.List.Add(rssModuleItem);
 }
 /// <summary>
 ///     Removes a specified item from this collection.
 /// </summary>
 /// <param name="rssModuleItem"> The item to remove. </param>
 public void Remove(RssModuleItem rssModuleItem)
 {
     this.List.Remove(rssModuleItem);
 }
 /// <summary>
 ///     Inserts an item into this collection at a specified index.
 /// </summary>
 /// <param name="index"> The zero-based index of the collection at which to insert the item. </param>
 /// <param name="rssModuleItem"> The item to insert into this collection. </param>
 public void Insert(int index, RssModuleItem rssModuleItem)
 {
     this.List.Insert(index, rssModuleItem);
 }