Ejemplo n.º 1
0
 /// <summary>Removes a specified item from this collection.</summary>
 /// <param name="rssModule">The item to remove.</param>
 public void Remove(RssModule rssModule)
 {
     List.Remove(rssModule);
 }
Ejemplo n.º 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="rssModule">The item to insert into this collection.</param>
 public void Insert(int index, RssModule rssModule)
 {
     List.Insert(index, rssModule);
 }
Ejemplo n.º 3
0
 /// <summary>Determines whether the RssModuleCollection contains a specific element.</summary>
 /// <param name="rssModule">The RssModule to locate in the RssModuleCollection.</param>
 /// <returns>true if the RssModuleCollection contains the specified value; otherwise, false.</returns>
 public bool Contains(RssModule rssModule)
 {
     return(List.Contains(rssModule));
 }
Ejemplo n.º 4
0
 /// <summary>Searches for the specified RssModule and returns the zero-based index of the first occurrence within the entire RssModuleCollection.</summary>
 /// <param name="rssModule">The RssModule to locate in the RssModuleCollection.</param>
 /// <returns>The zero-based index of the first occurrence of RssModule within the entire RssModuleCollection, if found; otherwise, -1.</returns>
 public int IndexOf(RssModule rssModule)
 {
     return(List.IndexOf(rssModule));
 }
Ejemplo n.º 5
0
 /// <summary>Adds a specified item to this collection.</summary>
 /// <param name="rssModule">The item to add.</param>
 /// <returns>The zero-based index of the added item.</returns>
 public int Add(RssModule rssModule)
 {
     return(List.Add(rssModule));
 }