From 6f1eae3ca88d7d95e3aa549beb37f92e7e74dc4b Mon Sep 17 00:00:00 2001 From: Christian Fiedler Date: Fri, 12 Jul 2013 18:25:17 +0200 Subject: [PATCH] no message --- .../CampusAppWP8/model/RSS/RSSChannelModel.cs | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 CampusAppWP8/CampusAppWP8/model/RSS/RSSChannelModel.cs diff --git a/CampusAppWP8/CampusAppWP8/model/RSS/RSSChannelModel.cs b/CampusAppWP8/CampusAppWP8/model/RSS/RSSChannelModel.cs new file mode 100644 index 00000000..1fd102de --- /dev/null +++ b/CampusAppWP8/CampusAppWP8/model/RSS/RSSChannelModel.cs @@ -0,0 +1,51 @@ +//----------------------------------------------------------------------------- +// +// Company copyright tag. +// +// fiedlchr +// 24.06.2013 +//----------------------------------------------------------------------------- +namespace CampusAppWP8.Model.RSS +{ + using System.Collections.ObjectModel; + using System.Xml.Serialization; + + /// + /// Channel Model, which contains the RSS feed item list. + /// + public class RSSChannelModel + { + /// + /// RSS feed information item list. + /// + [XmlElement("item")] + private ObservableCollection item; + + /// + /// Initializes a new instance of the class. + /// + public RSSChannelModel() + { + this.item = new ObservableCollection(); + } + + /// + /// Gets or sets the RSS feed item list. + /// + public ObservableCollection Item + { + get + { + return this.item; + } + + set + { + if (value != this.item) + { + this.item = value; + } + } + } + } +}