Пример #1
0
 public LuceneSiteIndexController(ISiteDefinitionRepository siteDefinitionRepository, IContentIndexRepository contentIndexRepository
                                  , IContentRepository contentRepository, IRemoteContentIndexRepository remoteContentIndexRepository
                                  , IIndexingHandler indexingHandler)
 {
     _siteDefinitionRepository     = siteDefinitionRepository;
     _contentIndexRepository       = contentIndexRepository;
     _contentRepository            = contentRepository;
     _remoteContentIndexRepository = remoteContentIndexRepository;
     _indexingHandler = indexingHandler;
 }
Пример #2
0
 public IndexingHandler(IContentIndexRepository contentIndexRepository, IRemoteContentIndexRepository
                        remoteContentIndexRepository)
 {
     _contentIndexRepository       = contentIndexRepository;
     _remoteContentIndexRepository = remoteContentIndexRepository;
 }
Пример #3
0
 public IndexingHandler()
 {
     _contentIndexRepository       = ServiceLocator.Current.GetInstance <IContentIndexRepository>();
     _remoteContentIndexRepository = ServiceLocator.Current.GetInstance <IRemoteContentIndexRepository>();
 }