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