Example #1
0
 /// <summary>Removes a specified channel from this collection.</summary>
 /// <param name="channel">The channel to remove.</param>
 public void Remove(RssChannel channel)
 {
     List.Remove(channel);
 }
Example #2
0
 /// <summary>Inserts a channel into this collection at a specified index.</summary>
 /// <param name="index">The zero-based index of the collection at which to insert the channel.</param>
 /// <param name="channel">The channel to insert into this collection.</param>
 public void Insert(int index, RssChannel channel)
 {
     List.Insert(index, channel);
 }
Example #3
0
 /// <summary>Determines whether the RssChannelCollection contains a specific element.</summary>
 /// <param name="rssChannel">The RssChannel to locate in the RssChannelCollection.</param>
 /// <returns>true if the RssChannelCollection contains the specified value; otherwise, false.</returns>
 public bool Contains(RssChannel rssChannel)
 {
     return(List.Contains(rssChannel));
 }
Example #4
0
 /// <summary>Searches for the specified RssChannel and returns the zero-based index of the first occurrence within the entire RssChannelCollection.</summary>
 /// <param name="rssChannel">The RssChannel to locate in the RssChannelCollection.</param>
 /// <returns>The zero-based index of the first occurrence of RssChannel within the entire RssChannelCollection, if found; otherwise, -1.</returns>
 public int IndexOf(RssChannel rssChannel)
 {
     return(List.IndexOf(rssChannel));
 }
Example #5
0
 /// <summary>Adds a specified channel to this collection.</summary>
 /// <param name="channel">The channel to add.</param>
 /// <returns>The zero-based index of the added channel.</returns>
 public int Add(RssChannel channel)
 {
     return(List.Add(channel));
 }