/// <summary>
 /// Default constructor to lookup all content data
 /// </summary>
 /// <param name="contentService"></param>
 /// <param name="sqlContext"></param>
 /// <param name="contentValueSetBuilder"></param>
 public ContentIndexPopulator(
     ILogger <ContentIndexPopulator> logger,
     IContentService contentService,
     IUmbracoDatabaseFactory umbracoDatabaseFactory,
     IContentValueSetBuilder contentValueSetBuilder)
     : this(logger, false, null, contentService, umbracoDatabaseFactory, contentValueSetBuilder)
 {
 }
Ejemplo n.º 2
0
        public ExamineComponent(IMainDom mainDom,
                                IExamineManager examineManager, IProfilingLogger profilingLogger,
                                IScopeProvider scopeProvider, IUmbracoIndexesCreator indexCreator,
                                ServiceContext services,
                                IContentValueSetBuilder contentValueSetBuilder,
                                IPublishedContentValueSetBuilder publishedContentValueSetBuilder,
                                IValueSetBuilder <IMedia> mediaValueSetBuilder,
                                IValueSetBuilder <IMember> memberValueSetBuilder)
        {
            _services                        = services;
            _scopeProvider                   = scopeProvider;
            _examineManager                  = examineManager;
            _contentValueSetBuilder          = contentValueSetBuilder;
            _publishedContentValueSetBuilder = publishedContentValueSetBuilder;
            _mediaValueSetBuilder            = mediaValueSetBuilder;
            _memberValueSetBuilder           = memberValueSetBuilder;

            _mainDom      = mainDom;
            _logger       = profilingLogger;
            _indexCreator = indexCreator;
        }
Ejemplo n.º 3
0
 public ElasticSearchExamineComponent(IExamineManager examineManager,
                                      ElasticIndexCreator indexCreator,
                                      IProfilingLogger profilingLogger,
                                      ServiceContext services,
                                      IScopeProvider scopeProvider,
                                      IContentValueSetBuilder contentValueSetBuilder,
                                      IPublishedContentValueSetBuilder publishedContentValueSetBuilder,
                                      IValueSetBuilder <IMedia> mediaValueSetBuilder,
                                      IValueSetBuilder <IMember> memberValueSetBuilder
                                      )
 {
     _services                        = services;
     _examineManager                  = examineManager;
     _indexCreator                    = indexCreator;
     _logger                          = profilingLogger;
     _scopeProvider                   = scopeProvider;
     _contentValueSetBuilder          = contentValueSetBuilder;
     _publishedContentValueSetBuilder = publishedContentValueSetBuilder;
     _mediaValueSetBuilder            = mediaValueSetBuilder;
     _memberValueSetBuilder           = memberValueSetBuilder;
 }
Ejemplo n.º 4
0
 public ExamineUmbracoIndexingHandler(
     IMainDom mainDom,
     ILogger <ExamineUmbracoIndexingHandler> logger,
     IProfilingLogger profilingLogger,
     IScopeProvider scopeProvider,
     IExamineManager examineManager,
     IBackgroundTaskQueue backgroundTaskQueue,
     IContentValueSetBuilder contentValueSetBuilder,
     IPublishedContentValueSetBuilder publishedContentValueSetBuilder,
     IValueSetBuilder <IMedia> mediaValueSetBuilder,
     IValueSetBuilder <IMember> memberValueSetBuilder)
 {
     _mainDom                         = mainDom;
     _logger                          = logger;
     _profilingLogger                 = profilingLogger;
     _scopeProvider                   = scopeProvider;
     _examineManager                  = examineManager;
     _backgroundTaskQueue             = backgroundTaskQueue;
     _contentValueSetBuilder          = contentValueSetBuilder;
     _publishedContentValueSetBuilder = publishedContentValueSetBuilder;
     _mediaValueSetBuilder            = mediaValueSetBuilder;
     _memberValueSetBuilder           = memberValueSetBuilder;
     _enabled                         = new Lazy <bool>(IsEnabled);
 }
 /// <summary>
 /// Default constructor to lookup all content data
 /// </summary>
 /// <param name="contentService"></param>
 /// <param name="sqlContext"></param>
 /// <param name="contentValueSetBuilder"></param>
 public ContentIndexPopulator(IContentService contentService, ISqlContext sqlContext, IContentValueSetBuilder contentValueSetBuilder)
     : this(false, null, contentService, sqlContext, contentValueSetBuilder)
 {
 }