Пример #1
0
            public Feed ReadFeed()
            {
                var feed = new Feed(FeedTitle, FeedDescription, new Uri(FeedLinkText));

                if (FeedItemSpecs == null)
                {
                    return(feed);
                }

                foreach (var item in FeedItemSpecs)
                {
                    feed.AddFeedItem(new FeedItem(item.FeedItemTitle, item.FeedItemDescription, new Uri(item.FeedItemLinkText)));
                }
                return(feed);
            }