Exemple #1
0
 void TrendActionBuy(PostResult rs)
 {
     TrendsBuy = new ObservableCollection <HotItem>(CurrentTrendApi.ParseTrendBuy(JToken.Parse(rs.Result)));
     OnPropertyChanged("TrendsBuy");
     CrawlItems(TrendsBuy);
 }
Exemple #2
0
        // ------------------------------------------------------------------------- //
        // ************************************************************************* //
        // ------------------------------------------------------------------------- //

        void TrendActionSell(PostResult rs)
        {
            TrendsSell = new ObservableCollection <HotItem>(CurrentTrendApi.ParseTrendSell(JToken.Parse(rs.Result)));
            OnPropertyChanged("TrendsSell");
            CrawlItems(TrendsSell);
        }