Exemplo n.º 1
0
 public DeferedReIndexForContent(IBackgroundTaskQueue backgroundTaskQueue, ExamineUmbracoIndexingHandler examineUmbracoIndexingHandler, IContent content, bool isPublished)
 {
     _backgroundTaskQueue           = backgroundTaskQueue;
     _examineUmbracoIndexingHandler = examineUmbracoIndexingHandler;
     _content     = content;
     _isPublished = isPublished;
 }
Exemplo n.º 2
0
 public static void Execute(IBackgroundTaskQueue backgroundTaskQueue, ExamineUmbracoIndexingHandler examineUmbracoIndexingHandler, IContent content, bool isPublished)
 => backgroundTaskQueue.QueueBackgroundWorkItem(cancellationToken =>