예제 #1
0
 public ArticleDetailData()
 {
     this.Article = new Article
     {
         ID = 113527837,
         Content = "真呢不知道自己是为了什么,起早贪黑的,越来越女汉纸了!真特么活该单身",
         Image = "app113527837.jpg",
         User = new Author
         {
             ID = 17438595,
             Icon = "20150124145246.jpg",
             Login = "******"
         },
         Votes = new ArticleVote
         {
             Up = 277,
             Down = -84
         },
         ImageSize = new ImageSize
         {
             SmallSizeList = new long[] { 220, 123, 4985 },
             MediumSizeList = new long[] { 500, 281, 42797 }
         }
     };
 }
예제 #2
0
        public override void OnNavigatedTo(NavigatedToEventArgs e, Dictionary<string, object> viewModelState)
        {
            base.OnNavigatedTo(e, viewModelState);

            this.Article = e.Parameter as Article;
        }