예제 #1
0
 /// <summary>Removes a specified item from this collection.</summary>
 /// <param name="rssModuleItem">The item to remove.</param>
 public void Remove(RssModuleItem rssModuleItem)
 {
     List.Remove(rssModuleItem);
 }
예제 #2
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)
 {
     List.Insert(index, rssModuleItem);
 }
예제 #3
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(List.Contains(rssModuleItem));
 }
예제 #4
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(List.IndexOf(rssModuleItem));
 }
예제 #5
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(List.Add(rssModuleItem));
 }