示例#1
0
 private async void SearchAction()
 {
     Uploaders.Clear();
     _service       = _container.Resolve <IYoutubeChannelService>();
     _service.Query = SearchQuery;
     MoreAction();
 }
 private async void ExecuteSeachUploader()
 {
     try
     {
         Uploaders.Clear();
         _service       = _container.Resolve <IYoutubeChannelService>();
         _service.Query = UploaderSearchQuery;
         MoreAction();
     }
     catch (Exception e)
     {
         //TODO: log
         _logger.Log(e.Message, Category.Exception, Priority.High);
         MessageBox.Show("Error occured during search");
     }
 }