Exemple #1
0
 public bool IsSubscribedTo(Feed feed)
 {
     return Subscriptions.SingleOrDefault((f) => f.Id == feed.Id || f.Url == feed.Url) != null;
 }
Exemple #2
0
        public static Feed FromUrl(string url)
        {
            Feed feed = new Feed
            {
                Url = url
            };

            feed.RemoteUpdate();
            return feed;
        }