Exemple #1
0
 public FeedItem(Models.FeedItem feedItem, Models.Feed feed)
 {
     Id  = feedItem.Id;
     Uri = new List <string> {
         feedItem.Uri
     };
     PublishTimeInUtc = new List <DateTime> {
         feedItem.PublishTimeInUtc
     };
     Summary = new List <string> {
         Utils.RemoveHtmlTag(feedItem.Summary)
     };
     Content = new List <string> {
         Utils.RemoveHtmlTag(feedItem.Content)
     };
     Title = new List <string> {
         Utils.RemoveHtmlTag(feedItem.Title)
     };
     TopicPictureUri = new List <string> {
         feedItem.TopicPictureUri
     };
     FeedId = new List <string> {
         feed.Id
     };
     FeedName = new List <string> {
         feed.Name
     };
     FeedCategory = new List <string> {
         feed.Category
     };
     FeedIconUri = new List <string> {
         feed.IconUri
     };
 }
        public override void LoadState(Models.FeedItem navigationParameter, Dictionary <string, object> pageState)
        {
            base.LoadState(navigationParameter, pageState);

            this.IsFeedItemPinned = this.secondaryPinner.IsPinned(FormatSecondaryTileId());

            this.shareManager.Initialize();
            this.shareManager.OnShareRequested = ShareRequested;
        }