示例#1
0
 public DeferedReIndexForMedia(IBackgroundTaskQueue backgroundTaskQueue, ExamineUmbracoIndexingHandler examineUmbracoIndexingHandler, IMedia media, bool isPublished)
 {
     _backgroundTaskQueue           = backgroundTaskQueue;
     _examineUmbracoIndexingHandler = examineUmbracoIndexingHandler;
     _media       = media;
     _isPublished = isPublished;
 }
 public DeferedReIndexForContent(IBackgroundTaskQueue backgroundTaskQueue,
                                 ExamineUmbracoIndexingHandler examineUmbracoIndexingHandler, IContent content, bool isPublished)
 {
     _backgroundTaskQueue           = backgroundTaskQueue;
     _examineUmbracoIndexingHandler = examineUmbracoIndexingHandler;
     _content     = content;
     _isPublished = isPublished;
 }
示例#3
0
 public static void Execute(IBackgroundTaskQueue backgroundTaskQueue, ExamineUmbracoIndexingHandler examineUmbracoIndexingHandler, IMedia media, bool isPublished) =>
 // perform the ValueSet lookup on a background thread
 backgroundTaskQueue.QueueBackgroundWorkItem(cancellationToken =>
 public static void Execute(IBackgroundTaskQueue backgroundTaskQueue,
                            ExamineUmbracoIndexingHandler examineUmbracoIndexingHandler, IContent content, bool isPublished)
 => backgroundTaskQueue.QueueBackgroundWorkItem(cancellationToken =>