Building a Windows 8 RSS Reader: Listing 3

Creating the RSSFeed class.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.ObjectModel;
namespace VSMWinRTDemo.RSS
{
  public class RSSFeed
  {
    private ObservableCollection<RSSItem> _items = new ObservableCollection<RSSItem>();
    public string Title { get; set; }
    public ObservableCollection<RSSItem> Items
    {
get
{
  return _items;
}
    }
  }
}

About the Author

Eric Vogel is a Senior Software Developer for Red Cedar Solutions Group in Okemos, Michigan. He is the president of the Greater Lansing User Group for .NET. Eric enjoys learning about software architecture and craftsmanship, and is always looking for ways to create more robust and testable applications. Contact him at [email protected].

comments powered by Disqus

Featured

Subscribe on YouTube