示例#1
0
 private void PostProcessTicketChanges(IEnumerable <Ticket> ticketChanges)
 {
     // ReSharper disable once EmptyGeneralCatchClause
     try
     {
         //queue up for search index update
         var queueItems = ticketChanges.ToSeachQueueItems();
         AsyncHelpers.RunSync(() => SearchProvider.QueueItemsForIndexingAsync(queueItems));
     }
     catch
     {
         //TODO: Log this somewhere
     }
 }