예제 #1
0
 private async System.Threading.Tasks.Task<bool> MovePage(bool moveForward)
 {
     int? page = moveForward ? ResultSet.pagination.next_page : ResultSet.pagination.previous_page;
     if (page.HasValue)
     {
         ResultSet = (await Search.MixSearch.GetPageForSet(ResultSet.path, page.Value)).ResultSet;
         return true;
     }
     else
         return false;
 }
예제 #2
0
 public SearchResult(MixSet results)
 {
     ResultSet = results;
 }