Esempio n. 1
0
 public async Task UpdateFeedAsync()
 {
     for (int i = 1; i < Feeds.Count(); i++)
     {
         await FeedDataSource.UpdateArticles(Feeds[i]);
     }
     Initialized?.Invoke(this, EventArgs.Empty);
 }
 public IRSSFeed RemoveAt(int id)
 {
     RssLock.EnterWriteLock();
     try
     {
         IRSSFeed feed = null;
         if (Feeds.Count() > id)
         {
             feed = Feeds[id];
             Feeds.RemoveAt(id);
         }
         return(feed);
     }
     finally
     {
         RssLock.ExitWriteLock();
     }
 }