Exemple #1
0
 public PageHeadBuilder(SeoSettings seoSettings)
 {
     this._seoSettings = seoSettings;
     this._titleParts = new List<string>();
     this._metaDescriptionParts = new List<string>();
     this._metaKeywordParts = new List<string>();
     this._scriptParts = new Dictionary<ResourceLocation, List<ScriptReferenceMeta>>();
     this._cssParts = new Dictionary<ResourceLocation, List<string>>();
     this._canonicalUrlParts = new List<string>();
     this._headCustomParts = new List<string>();
 }
        public MobPageHeadBuilder(SeoSettings seoSettings) : base(seoSettings)
        {

        }
 public ProductController(ICategoryService categoryService,
     IManufacturerService manufacturerService,
     IProductService productService,
     IVendorService vendorService,
     IProductTemplateService productTemplateService,
     IProductAttributeService productAttributeService,
     IWorkContext workContext,
     IStoreContext storeContext,
     ITaxService taxService,
     ICurrencyService currencyService,
     IPictureService pictureService,
     ILocalizationService localizationService,
     IMeasureService measureService,
     IPriceCalculationService priceCalculationService,
     IPriceFormatter priceFormatter,
     IWebHelper webHelper,
     ISpecificationAttributeService specificationAttributeService,
     IDateTimeHelper dateTimeHelper,
     IRecentlyViewedProductsService recentlyViewedProductsService,
     ICompareProductsService compareProductsService,
     IWorkflowMessageService workflowMessageService,
     IProductTagService productTagService,
     IOrderReportService orderReportService,
     IAclService aclService,
     IStoreMappingService storeMappingService,
     IPermissionService permissionService,
     IDownloadService downloadService,
     ICustomerActivityService customerActivityService,
     IProductAttributeParser productAttributeParser,
     IShippingService shippingService,
     IEventPublisher eventPublisher,
     MediaSettings mediaSettings,
     CatalogSettings catalogSettings,
     VendorSettings vendorSettings,
     ShoppingCartSettings shoppingCartSettings,
     LocalizationSettings localizationSettings,
     CustomerSettings customerSettings,
     CaptchaSettings captchaSettings,
     SeoSettings seoSettings,
     ICacheManager cacheManager)
 {
     this._categoryService = categoryService;
     this._manufacturerService = manufacturerService;
     this._productService = productService;
     this._vendorService = vendorService;
     this._productTemplateService = productTemplateService;
     this._productAttributeService = productAttributeService;
     this._workContext = workContext;
     this._storeContext = storeContext;
     this._taxService = taxService;
     this._currencyService = currencyService;
     this._pictureService = pictureService;
     this._localizationService = localizationService;
     this._measureService = measureService;
     this._priceCalculationService = priceCalculationService;
     this._priceFormatter = priceFormatter;
     this._webHelper = webHelper;
     this._specificationAttributeService = specificationAttributeService;
     this._dateTimeHelper = dateTimeHelper;
     this._recentlyViewedProductsService = recentlyViewedProductsService;
     this._compareProductsService = compareProductsService;
     this._workflowMessageService = workflowMessageService;
     this._productTagService = productTagService;
     this._orderReportService = orderReportService;
     this._aclService = aclService;
     this._storeMappingService = storeMappingService;
     this._permissionService = permissionService;
     this._downloadService = downloadService;
     this._customerActivityService = customerActivityService;
     this._productAttributeParser = productAttributeParser;
     this._shippingService = shippingService;
     this._eventPublisher = eventPublisher;
     this._mediaSettings = mediaSettings;
     this._catalogSettings = catalogSettings;
     this._vendorSettings = vendorSettings;
     this._shoppingCartSettings = shoppingCartSettings;
     this._localizationSettings = localizationSettings;
     this._customerSettings = customerSettings;
     this._captchaSettings = captchaSettings;
     this._seoSettings = seoSettings;
     this._cacheManager = cacheManager;
 }
 //I think this is the method that uses dependancy injection to create the repos - as opposed to manual
 //see:http://alexwolfthoughts.com/creating-a-generic-repository-with-entity-framework-and-mvc
 public AUConsignorController(IRepository<AUConsignorRecord> consignorRepo,
                                 IRepository<AUConsignmentRecord> consignmentRepo,
                                 IRepository<AUConsignorConsignmentRecord> consignorconsignmentRepo,
                                 IRepository<AUConsignorList> consignorlistRepo,
                                 IRepository<AUSaleRecord> saleRepo,
                                 IRepository<AUSessionRecord> sessionRepo,
                                 IRepository<AUIncrementRecord> incrementRepo,
                                 IRepository<AUAddressRecord> addressRepo,
                                 IRepository<AUCombAddress> combAddressRepo,
                                 IRepository<AULotList> lotlistRepo,
                                 IRepository<AULotRecord> lotRepo,
                                 IRepository<AUFeesRecord> feesRepo,
                                 IRepository<AUFinderFeesRecord> finderfeesRepo,
                                 IRepository<AUMaxBidJobControlRecord> maxbidjobcontrolRepo,
                                 ICacheManager cacheManager,
                                 IPictureService pictureService,
                                 IConsignmentService consignmentservice,
                                 IConsignorService consignorservice,
                                 IDateTimeHelper dateTimeHelper,
                                 IAuthenticationService authenticationService,
                                 ILocalizationService localizationService,
                                 ICountryService countryService,
                                 IStateProvinceService stateProvinceService, 
                                 IWorkContext workContext,                                        
                                 ICollectibleImportService collectibleimportService, 
                                 //IRepository<AUCombConsignorConsignment> combinedRepo,
                                 ICategoryService categoryService,
                                 IStoreService storeService,
                                 IShippingService shippingService,
                                 IPermissionService permissionService,
                                 IEventPublisher eventPublisher,
                                 ISettingService settings,
                                 IProductService productService,
                                 IDbContext dbContext,
                                 IPhilatelicPdfService philatelicpdfService,
                                 ICollectibleExportService collectibleexportService,
                                 IAUSaleService ausaleService,
                                 IAclService aclService,
                                 IStoreMappingService storeMappingService,
                                 CatalogSettings catalogSettings,
                                 IWebHelper webHelper,
                                 IPriceFormatter priceFormatter,
                                 ICurrencyService currencyService,
                                 IStoreContext storeContext,
                                 MediaSettings mediaSettings,
                                 IPriceCalculationService priceCalculationService,
                                 ISpecificationAttributeService specificationAttributeService,
                                 ITaxService taxService,
                                 ICategoryTemplateService categoryTemplateService,
                                 ICustomerActivityService customerActivityService,
                                 ShoppingCartSettings shoppingCartSettings,
                                 IAUCatalogService AUcatalogService,     
                                 IForumService forumService,             
                                 ICustomerService customerService,      
                                 ForumSettings forumSettings,          
                                 ILogger logger,
                                 IRecentlyViewedProductsService recentlyViewedProductsService,
                                 SeoSettings seoSettings,
                                 IVendorService vendorService,
                                 VendorSettings vendorSettings,
                                 IProductTagService productTagService,
                                 IProductTemplateService productTemplateService,
                                 IProductAttributeParser productAttributeParser,
                                 IManufacturerService manufacturerService,
                                 IMeasureService measureService,
                                 IProductAttributeService productAttributeService,
                                 CustomerSettings customerSettings)                         
 {
     _cacheManager = cacheManager;
     _pictureService = pictureService;
     _consignorRepo = consignorRepo;
     _consignmentRepo = consignmentRepo;
     _consignorconsignmentRepo = consignorconsignmentRepo;
     _consignorService = consignorservice;
     _consignmentService = consignmentservice;
     _consignorlistRepo = consignorlistRepo;
     _maxbidjobcontrolRepo = maxbidjobcontrolRepo;
     _saleRepo = saleRepo;
     _sessionRepo = sessionRepo;
     _incrementRepo = incrementRepo;
     _addressRepo = addressRepo;
     _combAddressRepo = combAddressRepo;
     _lotlistRepo = lotlistRepo;
     _lotRepo = lotRepo;
     _feesRepo = feesRepo;
     _finderfeesRepo = finderfeesRepo;
     _dateTimeHelper = dateTimeHelper;
     _authenticationService = authenticationService;
     _localizationService = localizationService;
     _countryService = countryService;
     _stateProvinceService = stateProvinceService;
     //_combinedRepo = combinedRepo;
     _workContext = workContext;
     _collectibleimportService = collectibleimportService;
     _categoryService = categoryService;
     _storeService = storeService;
     _shippingService = shippingService;
     _permissionService = permissionService;
     _eventPublisher = eventPublisher;
     _settings = settings;
     _productService = productService;
     _dbContext = dbContext;
     _philatelicpdfService = philatelicpdfService;
     _collectibleexportService = collectibleexportService;
     _ausaleService = ausaleService;
     _aclService = aclService;
     _storeMappingService = storeMappingService;
     _catalogSettings = catalogSettings;
     _webHelper = webHelper;
     _priceFormatter = priceFormatter;
     _currencyService = currencyService;
     _storeContext = storeContext;
     _mediaSettings = mediaSettings;
     _priceCalculationService = priceCalculationService;
     _specificationAttributeService = specificationAttributeService;
     _taxService = taxService;
     _categoryTemplateService = categoryTemplateService;
     _customerActivityService = customerActivityService;
     _shoppingCartSettings = shoppingCartSettings;
     _AUcatalogService = AUcatalogService;      
     _forumService = forumService;              
     _customerService = customerService;       
     _forumSettings = forumSettings;            
     _logger = logger;
     _recentlyViewedProductsService = recentlyViewedProductsService;          
     _seoSettings = seoSettings;
     _vendorService = vendorService;
     _vendorSettings = vendorSettings;
     _productTemplateService = productTemplateService;
     _productTagService = productTagService;
     _productAttributeParser = productAttributeParser;
     _manufacturerService = manufacturerService;
     _measureService = measureService;
     _productAttributeService = productAttributeService;
     _customerSettings = customerSettings;
 }