Example #1
0
 /// <summary>
 /// Does the work.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The <see cref="System.ComponentModel.DoWorkEventArgs"/> instance containing the event data.</param>
 void DoWork(object sender, DoWorkEventArgs e)
 {
     try
     {
         e.Result = _youtubeService.GetVideoClips(SearchText, OrderBy, MaxResults);
     }
     catch (Exception ex)
     {
         System.Diagnostics.Debug.WriteLine(ex);
     }
 }