示例#1
0
 /// <summary>
 /// search marketplace asset from queryservice
 /// </summary>
 public void SearchMarketplaceAssets(IWorkflowsQueryService client)
 {
     try
     {
         this.BuildMarketplaceSearchQuery();
         SetDownloadSelections();
         Utility.DoTaskWithBusyCaption(loadAssetCaption, () =>
         {
             MarketplaceSearchResult result = null;
             result = client.SearchMarketplace(this.query);
             LoadMarketplace(result);
         });
     }
     catch (Exception ex)
     {
         MarketplaceExceptionHandler.HandleSearchException(ex);
         IsBusy = false;
     }
 }