コード例 #1
0
 public SearchController(
     ISiteService siteService,
     LuceneIndexProvider luceneIndexProvider,
     LuceneIndexingService luceneIndexingService,
     LuceneSettings luceneSettings,
     IContentManager contentManager
     )
 {
     _siteService           = siteService;
     _luceneIndexProvider   = luceneIndexProvider;
     _luceneIndexingService = luceneIndexingService;
     _luceneSettings        = luceneSettings;
     _contentManager        = contentManager;
 }
コード例 #2
0
 public LuceneCatalogController(LuceneSettings luceneSettings, CatalogSettings catalogSettings,
                                IProductService productService,
                                IStoreContext storeContext,
                                IWorkContext workContext,
                                IProductModelFactory productModelFactory,
                                MediaSettings mediaSettings, ILuceneService luceneService)
 {
     _luceneSettings      = luceneSettings;
     _catalogSettings     = catalogSettings;
     _productService      = productService;
     _storeContext        = storeContext;
     _workContext         = workContext;
     _productModelFactory = productModelFactory;
     _mediaSettings       = mediaSettings;
     _luceneService       = luceneService;
 }
コード例 #3
0
 public AdminController(
     LuceneIndexProvider luceneIndexProvider,
     LuceneIndexingService luceneIndexingService,
     LuceneSettings luceneSettings,
     IAuthorizationService authorizationService,
     INotifier notifier,
     IStringLocalizer <AdminController> s,
     IHtmlLocalizer <AdminController> h,
     ILogger <AdminController> logger)
 {
     _luceneIndexProvider   = luceneIndexProvider;
     _luceneIndexingService = luceneIndexingService;
     _authorizationService  = authorizationService;
     _luceneSettings        = luceneSettings;
     _notifier = notifier;
     S         = s;
     H         = h;
     Logger    = logger;
 }
コード例 #4
0
        public CatalogModelFactory(BlogSettings blogSettings,
                                   CatalogSettings catalogSettings,
                                   DisplayDefaultMenuItemSettings displayDefaultMenuItemSettings,
                                   ForumSettings forumSettings,
                                   IActionContextAccessor actionContextAccessor,
                                   ICategoryService categoryService,
                                   ICategoryTemplateService categoryTemplateService,
                                   ICurrencyService currencyService,
                                   IEventPublisher eventPublisher,
                                   IHttpContextAccessor httpContextAccessor,
                                   ILocalizationService localizationService,
                                   IManufacturerService manufacturerService,
                                   IManufacturerTemplateService manufacturerTemplateService,
                                   IPictureService pictureService,
                                   IPriceFormatter priceFormatter,
                                   IProductModelFactory productModelFactory,
                                   IProductService productService,
                                   IProductTagService productTagService,
                                   ISearchTermService searchTermService,
                                   ISpecificationAttributeService specificationAttributeService,
                                   IStaticCacheManager cacheManager,
                                   IStoreContext storeContext,
                                   ITopicService topicService,
                                   IUrlHelperFactory urlHelperFactory,
                                   IUrlRecordService urlRecordService,
                                   IVendorService vendorService,
                                   IWebHelper webHelper,
                                   IWorkContext workContext,
                                   MediaSettings mediaSettings,
                                   VendorSettings vendorSettings,
                                   LuceneSettings luceneSettings, ILuceneService luceneService,
                                   ICacheKeyService cacheKeyService, ICustomerService customerService, IStaticCacheManager staticCacheManager)
            : base(blogSettings,
                   catalogSettings,
                   displayDefaultMenuItemSettings,
                   forumSettings,
                   actionContextAccessor,
                   cacheKeyService,
                   categoryService,
                   categoryTemplateService,
                   currencyService,
                   customerService,
                   eventPublisher,
                   httpContextAccessor,
                   localizationService,
                   manufacturerService,
                   manufacturerTemplateService,
                   pictureService,
                   priceFormatter,
                   productModelFactory,
                   productService,
                   productTagService,
                   searchTermService,
                   specificationAttributeService,
                   staticCacheManager,
                   storeContext,
                   topicService,
                   urlHelperFactory,
                   urlRecordService,
                   vendorService,
                   webHelper,
                   workContext,
                   mediaSettings,
                   vendorSettings)
        {
            _blogSettings    = blogSettings;
            _catalogSettings = catalogSettings;
            _displayDefaultMenuItemSettings = displayDefaultMenuItemSettings;
            _forumSettings                 = forumSettings;
            _actionContextAccessor         = actionContextAccessor;
            _categoryService               = categoryService;
            _categoryTemplateService       = categoryTemplateService;
            _currencyService               = currencyService;
            _eventPublisher                = eventPublisher;
            _httpContextAccessor           = httpContextAccessor;
            _localizationService           = localizationService;
            _manufacturerService           = manufacturerService;
            _manufacturerTemplateService   = manufacturerTemplateService;
            _pictureService                = pictureService;
            _priceFormatter                = priceFormatter;
            _productModelFactory           = productModelFactory;
            _productService                = productService;
            _productTagService             = productTagService;
            _searchTermService             = searchTermService;
            _specificationAttributeService = specificationAttributeService;
            _cacheManager     = cacheManager;
            _storeContext     = storeContext;
            _topicService     = topicService;
            _urlHelperFactory = urlHelperFactory;
            _urlRecordService = urlRecordService;
            _vendorService    = vendorService;
            _webHelper        = webHelper;
            _workContext      = workContext;
            _mediaSettings    = mediaSettings;
            _vendorSettings   = vendorSettings;
            _customerService  = customerService;
            _cacheKeyService  = cacheKeyService;

            _luceneSettings = luceneSettings;
            _luceneService  = luceneService;
        }