コード例 #1
0
 private async void ShowGallery(ArticleCategory category)
 {
     Core.Track.Telemetry.Instance.Action("Filter", new Dictionary <string, string>()
     {
         { "filter", category.ToString() }
     });
     PageDataContext.CurrentArticleGallery = category;
     var parameters = new OverviewParameter()
     {
         StartOver = true, Category = category, Paging = 0
     };
     await Task.Factory.StartNew(() => Searcher.ExecuteGaleryScrape(this, context, parameters), source.Token);
 }
コード例 #2
0
 private async void ShowGallery(ArticleCategory category)
 {
     Core.Track.Telemetry.Instance.Action("Filter", new Dictionary<string, string>() { { "filter", category.ToString() } });
     PageDataContext.CurrentArticleGallery = category;
     var parameters = new OverviewParameter() { StartOver = true, Category = category, Paging = 0 };
     await Task.Factory.StartNew(() => Searcher.ExecuteGaleryScrape(this, context, parameters), source.Token);
 }