Exemple #1
0
 private void InitializeFeed()
 {
     if (!string.IsNullOrEmpty(m_feedUrl))
     {
         mediaFeed           = new MediaFeed();
         mediaFeed.OnOpened += MediaFeed_OnOpened;
         mediaFeed.OnClosed += MediaFeed_OnClosed;
         mediaFeed.Open(m_feedUrl, m_feedUser, m_feedPassword);
     }
 }
 static MediaFeedResultsElectionHouse GetHouseOfReps(MediaFeed feed) =>
 feed.Results.Election
 .Single(x => x.ElectionIdentifier.Id == "H")
 .House;
 public void LoadFeed()
 {
     feed = new MediaFeed();
     feed.Load(feedUrl, feedUser, feedPassword);
 }