/// <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); }
/// <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); }
/// <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)); }
/// <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)); }
/// <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)); }