Example #1
0
 public TagsHandler(SiteConfig siteConfig, ProcessHandler processHandler, IQueryFactory queryFactory, IGlobalStoreManager globalStore)
 {
     GlobalStore         = globalStore;
     this.queryFactory   = queryFactory;
     this.processHandler = processHandler;
     this.siteConfig     = siteConfig;
 }
 public DocumentService(IGlobalStoreManager globalStore, IQueryFactory queryFactory, SiteConfig siteConfig, ProcessHandler processHandler, UrlProvider urlProvider)
 {
     this.siteConfig     = siteConfig;
     this.queryFactory   = queryFactory;
     this.globalStore    = globalStore;
     this.processHandler = processHandler;
     this.urlProvider    = urlProvider;
 }
 public DocumentsMoveController(IDocumentService documentService, ParallelService parallelService,
                                IGlobalStoreManager globalStore, IDataSetSelector dataSetSelector)
 {
     this.dataSetName     = dataSetSelector.DataSetName;
     this.globalStore     = globalStore;
     this.documentService = documentService;
     this.parallelService = parallelService;
 }
Example #4
0
 public ClassifierController(ServiceQuery serviceQuery, ClassifierServiceHandler classifierHandler, ProcessHandler processHandler,
                             IQueryFactory queryFactory, IGlobalStoreManager globalStore)
 {
     GlobalStore            = globalStore;
     this.queryFactory      = queryFactory;
     this.processHandler    = processHandler;
     this.classifierHandler = classifierHandler;
     this.serviceQuery      = serviceQuery;
 }
Example #5
0
 public TagService(IQueryFactory queryFactory,
                   ProcessHandler processHandler, TagsHandler tagsHandler, UrlProvider urlProvider,
                   IDocumentService documentService, IGlobalStoreManager globalStore)
 {
     this.globalStore     = globalStore;
     this.documentService = documentService;
     this.urlProvider     = urlProvider;
     this.tagsHandler     = tagsHandler;
     this.processHandler  = processHandler;
     this.queryFactory    = queryFactory;
 }
 public PrcIndexServiceHandler(ServiceQuery serviceQuery, PrcIndexRedisHandler prcIndexRedisHandler, IQueryFactory queryFactory,
                               ParallelService parallelService, ILogger <PrcIndexServiceHandler> logger, ProcessHandler processHandler, IGlobalStoreManager globalStore)
 {
     this.GlobalStore     = globalStore;
     this.processHandler  = processHandler;
     this.logger          = logger;
     this.parallelService = parallelService;
     this.queryFactory    = queryFactory;
     this.redisHandler    = prcIndexRedisHandler;
     this.serviceQuery    = serviceQuery;
 }
Example #7
0
 public PrcController(ServiceQuery serviceQuery, PrcServiceHandler prcHandler, IQueryFactory queryFactory, ProcessHandler processHandler,
                      ParallelService parallelService, ServiceManager serviceManager, IGlobalStoreManager globalStore, PrcIndexServiceHandler prcIndexHandler)
 {
     this.prcIndexHandler = prcIndexHandler;
     GlobalStore          = globalStore;
     this.serviceManager  = serviceManager;
     this.parallelService = parallelService;
     this.processHandler  = processHandler;
     this.queryFactory    = queryFactory;
     this.prcHandler      = prcHandler;
     this.serviceQuery    = serviceQuery;
 }
        public DataSetService(ServiceQuery serviceQuery, IQueryFactory queryFactory,
                              IndexQuery indexQuery, ElasticClientFactory clientFactory,
                              ILoggerFactory loggerFactory, IGlobalStoreManager globalStore)
        {
            GlobalStore        = globalStore;
            this.clientFactory = clientFactory;
            this.indexQuery    = indexQuery;
            this.queryFactory  = queryFactory;
            this.serviceQuery  = serviceQuery;

            this.logger = loggerFactory.CreateLogger <DataSetService>();
        }
Example #9
0
 public SearchServiceHandler(SiteConfig siteConfig, ServiceQuery serviceQuery, ProcessHandler processHandler,
                             IQueryFactory queryFactory, ParallelService parallelService, MachineResourceService machineResourceService,
                             IGlobalStoreManager globalStore, SearchRedisHandler searchRedisHandler)
 {
     GlobalStore                 = globalStore;
     this.parallelService        = parallelService;
     this.queryFactory           = queryFactory;
     this.processHandler         = processHandler;
     this.serviceQuery           = serviceQuery;
     this.siteConfig             = siteConfig;
     this.machineResourceService = machineResourceService;
     this.searchRedisHandler     = searchRedisHandler;
 }
 public SearchController(ServiceQuery serviceQuery, SearchServiceHandler searchHandler, ProcessHandler processHandler,
                         IQueryFactory queryFactory, IGlobalStoreManager globalStore, ServiceManager serviceManager, IDocumentService documentService,
                         ClassifierServiceHandler classifierHandler)
 {
     GlobalStore            = globalStore;
     this.queryFactory      = queryFactory;
     this.processHandler    = processHandler;
     this.searchHandler     = searchHandler;
     this.serviceQuery      = serviceQuery;
     this.serviceManager    = serviceManager;
     this.documentService   = documentService;
     this.classifierHandler = classifierHandler;
 }
 public ClassifierServiceHandler(SiteConfig siteConfig, ServiceQuery serviceQuery, ProcessHandler processHandler,
                                 IQueryFactory queryFactory, ParallelService parallelService, MachineResourceService machineResourceService,
                                 IGlobalStoreManager globalStore, TagService tagService)
 {
     GlobalStore                 = globalStore;
     this.parallelService        = parallelService;
     this.queryFactory           = queryFactory;
     this.processHandler         = processHandler;
     this.serviceQuery           = serviceQuery;
     this.siteConfig             = siteConfig;
     this.machineResourceService = machineResourceService;
     _dictionaryRootPath         = siteConfig.Directory.Classifier;
     this.tagService             = tagService;
 }
Example #12
0
 public PrcServiceHandler(SiteConfig siteConfig, ServiceQuery serviceQuery, ProcessHandler processHandler, IQueryFactory queryFactory,
                          ParallelService parallelService, MachineResourceService machineResourceService, IGlobalStoreManager globalStore,
                          ILogger <PrcServiceHandler> logger)
 {
     this.logger                 = logger;
     GlobalStore                 = globalStore;
     this.parallelService        = parallelService;
     this.queryFactory           = queryFactory;
     this.processHandler         = processHandler;
     this.serviceQuery           = serviceQuery;
     this.siteConfig             = siteConfig;
     this.machineResourceService = machineResourceService;
     _dictionaryRootPath         = siteConfig.Directory.Prc;
 }
Example #13
0
 public ServiceManager(ServiceQuery serviceQuery, IServiceProvider serviceProvider, ProcessQuery processQuery,
                       ProcessHandler processHandler, IGlobalStoreManager globalStore, DataSetService dataSetService,
                       ILogger <ServiceManager> logger, PrcServiceHandler prcServiceHandler, PrcIndexServiceHandler prcIndexServiceHandler)
 {
     this.prcIndexServiceHandler = prcIndexServiceHandler;
     this.prcServiceHandler      = prcServiceHandler;
     this.logger          = logger;
     this.dataSetService  = dataSetService;
     GlobalStore          = globalStore;
     this.processHandler  = processHandler;
     this.processQuery    = processQuery;
     this.serviceProvider = serviceProvider;
     this.serviceQuery    = serviceQuery;
 }
Example #14
0
 public ServiceBusyFilter([FromServices] IGlobalStoreManager globalStore)
 {
     GlobalStore = globalStore;
 }
Example #15
0
 public ServicesController(ServiceQuery serviceQuery, IGlobalStoreManager globalStore)
 {
     GlobalStore       = globalStore;
     this.serviceQuery = serviceQuery;
 }
 public ProcessHandler(ProcessQuery processQuery, IGlobalStoreManager globalStore)
 {
     GlobalStore       = globalStore;
     this.processQuery = processQuery;
 }
 public TagsExportWordsController(TagService tagService, IDataSetSelector dataSetSelector, IGlobalStoreManager globalStore)
 {
     this.globalStore = globalStore;
     this.tagService  = tagService;
     this.DataSetName = dataSetSelector.DataSetName;
 }