예제 #1
0
 public ContactController(IRepository <Contact> contactRepository, IRepository <ContactArea> contactAreaRepository, IWorkContext workContext, IContentLocalizationService contentLocalizationService)
 {
     _contactRepository          = contactRepository;
     _contactAreaRepository      = contactAreaRepository;
     _workContext                = workContext;
     _contentLocalizationService = contentLocalizationService;
 }
예제 #2
0
 public CategoryMenuViewComponent(IRepository <Category> categoryRepository, IContentLocalizationService contentLocalizationService, IRepository <Entity> entityRepository, IRepositoryWithTypedId <EntityType, string> entityTypeRepository)
 {
     _categoryRepository         = categoryRepository;
     _contentLocalizationService = contentLocalizationService;
     _entityRepository           = entityRepository;
     _entityTypeRepository       = entityTypeRepository;
 }
 public ProductWidgetViewComponent(IRepository <Product> productRepository,
                                   IMediaService mediaService,
                                   IProductPricingService productPricingService,
                                   IContentLocalizationService contentLocalizationService)
 {
     _productRepository          = productRepository;
     _mediaService               = mediaService;
     _productPricingService      = productPricingService;
     _contentLocalizationService = contentLocalizationService;
 }
 public ProductRecentlyViewedViewComponent(IRecentlyViewedProductRepository productRepository,
                                           IMediaService mediaService,
                                           IProductPricingService productPricingService,
                                           IContentLocalizationService contentLocalizationService,
                                           IWorkContext workContext)
 {
     _productRepository          = productRepository;
     _mediaService               = mediaService;
     _productPricingService      = productPricingService;
     _contentLocalizationService = contentLocalizationService;
     _workContext = workContext;
 }
예제 #5
0
 public ProductController(IRepository <Product> productRepository,
                          IMediaService mediaService,
                          IMediator mediator,
                          IProductPricingService productPricingService,
                          IContentLocalizationService contentLocalizationService)
 {
     _productRepository          = productRepository;
     _mediaService               = mediaService;
     _mediator                   = mediator;
     _productPricingService      = productPricingService;
     _contentLocalizationService = contentLocalizationService;
 }
예제 #6
0
 public ProductWidgetViewComponent(IRepository <Product> productRepository,
                                   IMediaService mediaService,
                                   IProductPricingService productPricingService,
                                   IContentLocalizationService contentLocalizationService,
                                   IRepository <Entity> entityRepository,
                                   IRepositoryWithTypedId <EntityType, string> entityTypeRepository)
 {
     _productRepository          = productRepository;
     _mediaService               = mediaService;
     _productPricingService      = productPricingService;
     _contentLocalizationService = contentLocalizationService;
     _entityRepository           = entityRepository;
     _entityTypeRepository       = entityTypeRepository;
 }
 public ProductRecentlyViewedViewComponent(IRecentlyViewedProductRepository productRepository,
                                           IMediaService mediaService,
                                           IProductPricingService productPricingService,
                                           IContentLocalizationService contentLocalizationService,
                                           IWorkContext workContext, IRepository <Entity> entityRepository,
                                           IRepositoryWithTypedId <EntityType, string> entityTypeRepository)
 {
     _productRepository          = productRepository;
     _mediaService               = mediaService;
     _productPricingService      = productPricingService;
     _contentLocalizationService = contentLocalizationService;
     _workContext          = workContext;
     _entityRepository     = entityRepository;
     _entityTypeRepository = entityTypeRepository;
 }
예제 #8
0
 public ComparingProductController(
     UserManager <User> userManager,
     IRepository <ComparingProduct> comparingProductRepository,
     IComparingProductService comparingProductService,
     IProductPricingService productPricingService,
     IMediaService mediaService,
     IContentLocalizationService contentLocalizationService,
     IWorkContext workContext)
 {
     _comparingProductRepository = comparingProductRepository;
     _comparingProductService    = comparingProductService;
     _productPricingService      = productPricingService;
     _mediaService = mediaService;
     _contentLocalizationService = contentLocalizationService;
     _workContext = workContext;
 }
예제 #9
0
 public BrandController(IRepository <Product> productRepository,
                        IMediaService mediaService,
                        IRepository <Category> categoryRepository,
                        IRepository <Brand> brandRepository,
                        IProductPricingService productPricingService,
                        IConfiguration config,
                        IContentLocalizationService contentLocalizationService)
 {
     _productRepository          = productRepository;
     _mediaService               = mediaService;
     _categoryRepository         = categoryRepository;
     _brandRepository            = brandRepository;
     _productPricingService      = productPricingService;
     _contentLocalizationService = contentLocalizationService;
     _pageSize = config.GetValue <int>("Catalog.ProductPageSize");
 }
예제 #10
0
        public ProductImportExportController(
            IRepository <Product> productRepository,
            IMediaService mediaService,
            IMediator mediator,
            IProductPricingService productPricingService,
            IContentLocalizationService contentLocalizationService,
            IRepository <Category> categoryRepository,
            IRepository <Brand> brandRepository)

        {
            _productRepository          = productRepository;
            _mediaService               = mediaService;
            _mediator                   = mediator;
            _productPricingService      = productPricingService;
            _contentLocalizationService = contentLocalizationService;
            _brandRepository            = brandRepository;
            _categoryRepository         = categoryRepository;
        }
예제 #11
0
 public ProductController(IRepository <Product> productRepository,
                          IMediaService mediaService,
                          IMediator mediator,
                          IProductPricingService productPricingService,
                          IContentLocalizationService contentLocalizationService,
                          ICurrencyService currencyService,
                          IRepository <Entity> entityRepository,
                          IRepositoryWithTypedId <EntityType, string> entityTypeRepository)
 {
     _productRepository          = productRepository;
     _mediaService               = mediaService;
     _mediator                   = mediator;
     _productPricingService      = productPricingService;
     _contentLocalizationService = contentLocalizationService;
     _currencyService            = currencyService;
     _entityRepository           = entityRepository;
     _entityTypeRepository       = entityTypeRepository;
 }
예제 #12
0
 public SearchController(IRepository <Product> productRepository,
                         IRepository <Brand> brandRepository,
                         IRepository <Category> categoryRepository,
                         IMediaService mediaService,
                         IRepository <Query> queryRepository,
                         IProductPricingService productPricingService,
                         IContentLocalizationService contentLocalizationService,
                         IRepository <Entity> entityRepository,
                         IRepositoryWithTypedId <EntityType, string> entityTypeRepository,
                         IConfiguration config)
 {
     _productRepository          = productRepository;
     _brandRepository            = brandRepository;
     _categoryRepository         = categoryRepository;
     _mediaService               = mediaService;
     _queryRepository            = queryRepository;
     _productPricingService      = productPricingService;
     _contentLocalizationService = contentLocalizationService;
     _pageSize             = config.GetValue <int>("Catalog.ProductPageSize");
     _entityRepository     = entityRepository;
     _entityTypeRepository = entityTypeRepository;
 }
예제 #13
0
 public HomeController(ILoggerFactory factory, IWidgetInstanceService widgetInstanceService, IContentLocalizationService contentLocalizationService)
 {
     _logger = factory.CreateLogger("Unhandled Error");
     _widgetInstanceService      = widgetInstanceService;
     _contentLocalizationService = contentLocalizationService;
 }
예제 #14
0
 public CategoryWidgetViewComponent(IRepository <Category> categoriesRepository, IMediaService mediaService, IContentLocalizationService contentLocalizationService)
 {
     _categoriesRepository       = categoriesRepository;
     _mediaService               = mediaService;
     _contentLocalizationService = contentLocalizationService;
 }
예제 #15
0
 public CategoryMenuViewComponent(IRepository <Category> categoryRepository, IContentLocalizationService contentLocalizationService)
 {
     _categoryRepository         = categoryRepository;
     _contentLocalizationService = contentLocalizationService;
 }
예제 #16
0
 public SpaceBarWidgetViewComponent(IMediaService mediaService, IStringLocalizerFactory stringLocalizerFactory, IContentLocalizationService contentLocalizationService)
 {
     _mediaService = mediaService;
     _localizer    = stringLocalizerFactory.Create(null);
     _contentLocalizationService = contentLocalizationService;
 }
예제 #17
0
 public PageController(IRepository <Page> pageRepository, IContentLocalizationService contentLocalizationService)
 {
     _pageRepository             = pageRepository;
     _contentLocalizationService = contentLocalizationService;
 }
예제 #18
0
 public MenuViewComponent(IRepository <Menu> menuRepository, IContentLocalizationService contentLocalizationService, IStringLocalizerFactory stringLocalizerFactory)
 {
     _menuRepository             = menuRepository;
     _contentLocalizationService = contentLocalizationService;
     _localizer = stringLocalizerFactory.Create(null);
 }