Esempio n. 1
0
 /// <summary>
 /// Marks the identified RSSItem as read.
 /// </summary>
 /// <param name="readItem">The RSSItem to mark as read.</param>
 public void MarkAsRead(RSSItemClass readItem)
 {
     foreach (RSSItemClass item in _items)
     {
         if (item.Url == readItem.Url)
         {
             item.IsRead = true;
             break;
         }
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Add an RSSItem item to the feed contents.
 /// </summary>
 /// <param name="item">An item you've parsed out of the feed.</param>
 public void AddItem(RSSItemClass item)
 {
     _items.Add(item);
 }