public ImportProductVariantsService(IImportProductVariantPriceBreaksService importPriceBreaksService, ITaxRateManager taxRateManager, ISession session, IETagAdminService eTagAdminService) { _taxRateManager = taxRateManager; _session = session; _eTagAdminService = eTagAdminService; _importProductVariantPriceBreaksService = importPriceBreaksService; }
public ProductVariantAdminViewDataService(IGetGiftCardTypeOptions getGiftCardTypeOptions, IGetProductVariantTypeOptions getProductVariantTypeOptions, IGetTaxRateOptions getTaxRateOptions, IGetTrackingPolicyOptions getTrackingPolicyOptions, IGetShippingOptions getShippingOptions, IProductReviewUIService productReviewUIService, IETagAdminService eTagAdminService) { _getGiftCardTypeOptions = getGiftCardTypeOptions; _getProductVariantTypeOptions = getProductVariantTypeOptions; _getTaxRateOptions = getTaxRateOptions; _getTrackingPolicyOptions = getTrackingPolicyOptions; _getShippingOptions = getShippingOptions; _productReviewUIService = productReviewUIService; _eTagAdminService = eTagAdminService; }
public ProductController(IProductService productService, IDocumentService documentService, ICategoryService categoryService, IProductOptionManager productOptionManager, IFileAdminService fileAdminService, IProductOptionManagementService productOptionManagementService, SiteSettings siteSettings, IUniquePageService uniquePageService, IETagAdminService eTagAdminService) { _productService = productService; _documentService = documentService; _categoryService = categoryService; _productOptionManager = productOptionManager; _fileAdminService = fileAdminService; _productOptionManagementService = productOptionManagementService; _siteSettings = siteSettings; _uniquePageService = uniquePageService; _eTagAdminService = eTagAdminService; }
public ProductControllerTests() { _documentService = A.Fake<IDocumentService>(); _productService = A.Fake<IProductService>(); _categoryService = A.Fake<ICategoryService>(); _productOptionManager = A.Fake<IProductOptionManager>(); _fileService = A.Fake<IFileAdminService>(); _productOptionManagementService = A.Fake<IProductOptionManagementService>(); _siteSettings = new SiteSettings {DefaultPageSize = 10}; _uniquePageService = A.Fake<IUniquePageService>(); _productSearch = new ProductSearch(); _eTagAdminService = A.Fake<IETagAdminService>(); A.CallTo(() => _uniquePageService.GetUniquePage<ProductSearch>()).Returns(_productSearch); _productController = new ProductController(_productService, _documentService, _categoryService, _productOptionManager, _fileService, _productOptionManagementService, _siteSettings, _uniquePageService, _eTagAdminService); }
public ProductControllerTests() { _documentService = A.Fake <IDocumentService>(); _productService = A.Fake <IProductService>(); _categoryService = A.Fake <ICategoryService>(); _productOptionManager = A.Fake <IProductOptionManager>(); _fileService = A.Fake <IFileAdminService>(); _productOptionManagementService = A.Fake <IProductOptionManagementService>(); _siteSettings = new SiteSettings { DefaultPageSize = 10 }; _uniquePageService = A.Fake <IUniquePageService>(); _productSearch = new ProductSearch(); _eTagAdminService = A.Fake <IETagAdminService>(); A.CallTo(() => _uniquePageService.GetUniquePage <ProductSearch>()).Returns(_productSearch); _productController = new ProductController(_productService, _documentService, _categoryService, _productOptionManager, _fileService, _productOptionManagementService, _siteSettings, _uniquePageService, _eTagAdminService); }
public ETagController(IETagAdminService eTagAdminService, IStringResourceProvider stringResourceProvider) { _eTagAdminService = eTagAdminService; _stringResourceProvider = stringResourceProvider; }
public SetETagService(IETagAdminService eTagAdminService) { _eTagAdminService = eTagAdminService; }