本文整理汇总了C#中ISpecificationAttributeService类的典型用法代码示例。如果您正苦于以下问题:C# ISpecificationAttributeService类的具体用法?C# ISpecificationAttributeService怎么用?C# ISpecificationAttributeService使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ISpecificationAttributeService类属于命名空间,在下文中一共展示了ISpecificationAttributeService类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: CopyProductService
public CopyProductService(IProductService productService,
IProductAttributeService productAttributeService,
ILanguageService languageService,
ILocalizedEntityService localizedEntityService,
IPictureService pictureService,
ICategoryService categoryService,
IManufacturerService manufacturerService,
ISpecificationAttributeService specificationAttributeService,
IDownloadService downloadService,
IProductAttributeParser productAttributeParser,
IUrlRecordService urlRecordService,
IStoreMappingService storeMappingService)
{
this._productService = productService;
this._productAttributeService = productAttributeService;
this._languageService = languageService;
this._localizedEntityService = localizedEntityService;
this._pictureService = pictureService;
this._categoryService = categoryService;
this._manufacturerService = manufacturerService;
this._specificationAttributeService = specificationAttributeService;
this._downloadService = downloadService;
this._productAttributeParser = productAttributeParser;
this._urlRecordService = urlRecordService;
this._storeMappingService = storeMappingService;
}
示例2: ProductController
public ProductController(IProductService productService,
IProductTemplateService productTemplateService,
ICategoryService categoryService, IManufacturerService manufacturerService,
IWorkContext workContext, ILanguageService languageService,
ILocalizationService localizationService, ILocalizedEntityService localizedEntityService,
ISpecificationAttributeService specificationAttributeService, IPictureService pictureService,
ITaxCategoryService taxCategoryService, IProductTagService productTagService,
ICopyProductService copyProductService, IPdfService pdfService,
IExportManager exportManager, IImportManager importManager,
ICustomerActivityService customerActivityService,
IPermissionService permissionService, AdminAreaSettings adminAreaSettings)
{
this._productService = productService;
this._productTemplateService = productTemplateService;
this._categoryService = categoryService;
this._manufacturerService = manufacturerService;
this._workContext = workContext;
this._languageService = languageService;
this._localizationService = localizationService;
this._localizedEntityService = localizedEntityService;
this._specificationAttributeService = specificationAttributeService;
this._pictureService = pictureService;
this._taxCategoryService = taxCategoryService;
this._productTagService = productTagService;
this._copyProductService = copyProductService;
this._pdfService = pdfService;
this._exportManager = exportManager;
this._importManager = importManager;
this._customerActivityService = customerActivityService;
this._permissionService = permissionService;
this._adminAreaSettings = adminAreaSettings;
}
示例3: PrepareProductSpecificationModel
public static IList<ProductSpecificationModel> PrepareProductSpecificationModel(this Controller controller,
IWorkContext workContext,
ISpecificationAttributeService specificationAttributeService,
ICacheManager cacheManager,
Product product)
{
if (product == null)
throw new ArgumentNullException("product");
string cacheKey = string.Format(ModelCacheEventConsumer.PRODUCT_SPECS_MODEL_KEY, product.Id, workContext.WorkingLanguage.Id);
return cacheManager.Get(cacheKey, () =>
{
var model = specificationAttributeService.GetProductSpecificationAttributesByProductId(product.Id, null, true)
.Select(psa =>
{
return new ProductSpecificationModel()
{
SpecificationAttributeId = psa.SpecificationAttributeOption.SpecificationAttributeId,
SpecificationAttributeName = psa.SpecificationAttributeOption.SpecificationAttribute.GetLocalized(x => x.Name),
SpecificationAttributeOption = !String.IsNullOrEmpty(psa.CustomValue) ? psa.CustomValue : psa.SpecificationAttributeOption.GetLocalized(x => x.Name),
};
}).ToList();
return model;
});
}
示例4: SelectSellController
public SelectSellController(IProductService productService,
IProductTemplateService productTemplateService,
ICategoryService categoryService,
IManufacturerService manufacturerService,
ICustomerService customerService,
IUrlRecordService urlRecordService,
IWorkContext workContext,
ILanguageService languageService,
ILocalizationService localizationService,
ILocalizedEntityService localizedEntityService,
ISpecificationAttributeService specificationAttributeService,
IPictureService pictureService,
ITaxCategoryService taxCategoryService,
IProductTagService productTagService,
ICopyProductService copyProductService,
IPdfService pdfService,
IExportManager exportManager,
IImportManager importManager,
ICustomerActivityService customerActivityService,
IPermissionService permissionService,
IAclService aclService,
IStoreService storeService,
IOrderService orderService,
IStoreMappingService storeMappingService,
IVendorService vendorService,
IShippingService shippingService,
IShipmentService shipmentService,
ICurrencyService currencyService,
CurrencySettings currencySettings,
IMeasureService measureService,
MeasureSettings measureSettings,
AdminAreaSettings adminAreaSettings,
IDateTimeHelper dateTimeHelper,
IDiscountService discountService,
IProductAttributeService productAttributeService,
IBackInStockSubscriptionService backInStockSubscriptionService,
IShoppingCartService shoppingCartService,
IProductAttributeFormatter productAttributeFormatter,
IProductAttributeParser productAttributeParser,
IDownloadService downloadService,
IStoreContext storeContext,
IRepository<StoreMapping> storeMapping)
{
_workContext = workContext;
_productService = productService;
_pictureService = pictureService;
_localizationService = localizationService;
_categoryService = categoryService;
_manufacturerService = manufacturerService;
_storeService = storeService;
_shippingService = shippingService;
_vendorService = vendorService;
_storeMappingService = storeMappingService;
_storeContext = storeContext;
_storeMapping = storeMapping;
}
示例5: SpecificationAttributeController
public SpecificationAttributeController(ISpecificationAttributeService specificationAttributeService,
ILanguageService languageService, ILocalizedEntityService localizedEntityService,
ILocalizationService localizationService, ICustomerActivityService customerActivityService,
IPermissionService permissionService)
{
this._specificationAttributeService = specificationAttributeService;
this._languageService = languageService;
this._localizedEntityService = localizedEntityService;
this._localizationService = localizationService;
this._customerActivityService = customerActivityService;
this._permissionService = permissionService;
}
示例6: ProductController
public ProductController(IProductService productService,
IProductTemplateService productTemplateService,
ICategoryService categoryService, IManufacturerService manufacturerService,
ICustomerService customerService,
IUrlRecordService urlRecordService, IWorkContext workContext, ILanguageService languageService,
ILocalizationService localizationService, ILocalizedEntityService localizedEntityService,
ISpecificationAttributeService specificationAttributeService, IPictureService pictureService,
ITaxCategoryService taxCategoryService, IProductTagService productTagService,
ICopyProductService copyProductService, IPdfService pdfService,
IExportManager exportManager, IImportManager importManager,
ICustomerActivityService customerActivityService,
IPermissionService permissionService, IAclService aclService,
IStoreService storeService, IStoreMappingService storeMappingService,
IVendorService vendorService,
ICurrencyService currencyService, CurrencySettings currencySettings,
IMeasureService measureService, MeasureSettings measureSettings,
PdfSettings pdfSettings, AdminAreaSettings adminAreaSettings)
{
this._productService = productService;
this._productTemplateService = productTemplateService;
this._categoryService = categoryService;
this._manufacturerService = manufacturerService;
this._customerService = customerService;
this._urlRecordService = urlRecordService;
this._workContext = workContext;
this._languageService = languageService;
this._localizationService = localizationService;
this._localizedEntityService = localizedEntityService;
this._specificationAttributeService = specificationAttributeService;
this._pictureService = pictureService;
this._taxCategoryService = taxCategoryService;
this._productTagService = productTagService;
this._copyProductService = copyProductService;
this._pdfService = pdfService;
this._exportManager = exportManager;
this._importManager = importManager;
this._customerActivityService = customerActivityService;
this._permissionService = permissionService;
this._aclService = aclService;
this._storeService = storeService;
this._storeMappingService = storeMappingService;
this._vendorService = vendorService;
this._currencyService = currencyService;
this._currencySettings = currencySettings;
this._measureService = measureService;
this._measureSettings = measureSettings;
this._pdfSettings = pdfSettings;
this._adminAreaSettings = adminAreaSettings;
}
示例7: CatalogController
public CatalogController(
ICommonServices services,
ICategoryService categoryService,
IManufacturerService manufacturerService,
IProductService productService,
ICategoryTemplateService categoryTemplateService,
IManufacturerTemplateService manufacturerTemplateService,
ICurrencyService currencyService,
IOrderReportService orderReportService,
IProductTagService productTagService,
IRecentlyViewedProductsService recentlyViewedProductsService,
IPictureService pictureService,
IPriceFormatter priceFormatter,
ISpecificationAttributeService specificationAttributeService,
ICompareProductsService compareProductsService,
IGenericAttributeService genericAttributeService,
IAclService aclService,
IStoreMappingService storeMappingService,
MediaSettings mediaSettings,
CatalogSettings catalogSettings,
IFilterService filterService,
CatalogHelper helper)
{
this._services = services;
this._categoryService = categoryService;
this._manufacturerService = manufacturerService;
this._productService = productService;
this._categoryTemplateService = categoryTemplateService;
this._manufacturerTemplateService = manufacturerTemplateService;
this._currencyService = currencyService;
this._orderReportService = orderReportService;
this._productTagService = productTagService;
this._recentlyViewedProductsService = recentlyViewedProductsService;
this._compareProductsService = compareProductsService;
this._pictureService = pictureService;
this._priceFormatter = priceFormatter;
this._specificationAttributeService = specificationAttributeService;
this._genericAttributeService = genericAttributeService;
this._aclService = aclService;
this._storeMappingService = storeMappingService;
this._filterService = filterService;
this._mediaSettings = mediaSettings;
this._catalogSettings = catalogSettings;
this._helper = helper;
T = NullLocalizer.Instance;
}
示例8: VendorController
public VendorController(
IProductService productService,
IProductTemplateService productTemplateService,
IWorkContext workContext,
ITaxService taxService,
ICurrencyService currencyService,
IPictureService pictureService,
ILocalizationService localizationService,
IPriceCalculationService priceCalculationService, IPriceFormatter priceFormatter,
IWebHelper webHelper, ISpecificationAttributeService specificationAttributeService,
IGenericAttributeService genericAttributeService,
IPermissionService permissionService,
ICustomerActivityService customerActivityService,
IAclService aclService,
MediaSettings mediaSettings, CatalogSettings catalogSettings,
ICacheManager cacheManager
, IVendorService vendorService //add by hz
, IVendorTemplateService vendorTemplateService //add by hz
)
{
this._productService = productService;
this._productTemplateService = productTemplateService;
this._workContext = workContext;
this._taxService = taxService;
this._currencyService = currencyService;
this._pictureService = pictureService;
this._localizationService = localizationService;
this._priceCalculationService = priceCalculationService;
this._priceFormatter = priceFormatter;
this._webHelper = webHelper;
this._specificationAttributeService = specificationAttributeService;
this._genericAttributeService = genericAttributeService;
this._permissionService = permissionService;
this._customerActivityService = customerActivityService;
this._aclService = aclService;
this._mediaSettings = mediaSettings;
this._catalogSettings = catalogSettings;
this._cacheManager = cacheManager;
this._vendorService = vendorService; //add by hz
this._vendorTemplateService = vendorTemplateService; // add by hz
}
示例9: PrepareProductSpecificationModel
public static IList<ProductSpecificationModel> PrepareProductSpecificationModel(this Controller controller,
IWorkContext workContext,
ISpecificationAttributeService specificationAttributeService,
ICacheManager cacheManager,
Product product)
{
if (product == null)
throw new ArgumentNullException("product");
string cacheKey = string.Format(ModelCacheEventConsumer.PRODUCT_SPECS_MODEL_KEY, product.Id, workContext.WorkingLanguage.Id);
return cacheManager.Get(cacheKey, () =>
specificationAttributeService.GetProductSpecificationAttributes(product.Id, 0, null, true)
.Select(psa =>
{
var m = new ProductSpecificationModel
{
SpecificationAttributeId = psa.SpecificationAttributeOption.SpecificationAttributeId,
SpecificationAttributeName = psa.SpecificationAttributeOption.SpecificationAttribute.GetLocalized(x => x.Name),
ColorSquaresRgb = psa.SpecificationAttributeOption.ColorSquaresRgb
};
switch (psa.AttributeType)
{
case SpecificationAttributeType.Option:
m.ValueRaw = HttpUtility.HtmlEncode(psa.SpecificationAttributeOption.GetLocalized(x => x.Name));
break;
case SpecificationAttributeType.CustomText:
m.ValueRaw = HttpUtility.HtmlEncode(psa.CustomValue);
break;
case SpecificationAttributeType.CustomHtmlText:
m.ValueRaw = psa.CustomValue;
break;
case SpecificationAttributeType.Hyperlink:
m.ValueRaw = string.Format("<a href='{0}' target='_blank'>{0}</a>", psa.CustomValue);
break;
default:
break;
}
return m;
}).ToList()
);
}
示例10: ProductResolver
//product service
//image service
//specification attribute service
//category service ?
//manufacturers services ?
//ILocalizationService
//ICustomerActivityService
//Tag Services
public ProductResolver(IProductService productService, IProductTagService tagService,
ISpecificationAttributeService attributeService,
ICategoryService categoryService, IManufacturerService manufacturerService, IPictureService pictureService,
IUrlRecordService urlRecordService, ILogger logger)
{
if (productService == null) throw new ArgumentNullException("productService");
if (pictureService == null) throw new ArgumentNullException("pictureService");
if (tagService == null) throw new ArgumentNullException("tagService");
if (attributeService == null) throw new ArgumentNullException("attributeService");
if (categoryService == null) throw new ArgumentNullException("categoryService");
if (manufacturerService == null) throw new ArgumentNullException("manufacturerService");
if (urlRecordService == null) throw new ArgumentNullException("urlRecordService");
_productService = productService;
_tagService = tagService;
_attributeService = attributeService;
_categoryService = categoryService;
_manufacturerService = manufacturerService;
_pictureService = pictureService;
_urlRecordService = urlRecordService;
_logger = logger;
}
示例11: CollectibleImportService
public CollectibleImportService(IProductService productService,
ISpecificationAttributeService specificationAttributeService,
ICategoryService categoryService,
IManufacturerService manufacturerService,
IPictureService pictureService,
IUrlRecordService urlRecordService,
IStoreContext storeContext,
INewsLetterSubscriptionService newsLetterSubscriptionService,
ICountryService countryService, //not used
IStateProvinceService stateProvinceService,
IConsignorService consignorService,
IAuthenticationService authenticationService,
ILogger logger,
IRepository<AUCountryLotRecord> countrylotRepo,
IRepository<AUStateProvinceLotRecord> stateprovincelotRepo,
IRepository<SpecificationAttribute> specificationAttributeRepo,
IRepository<SpecificationAttributeOption> specificationAttributeOptionRepo
)
{
this._productService = productService;
this._specificationAttributeService = specificationAttributeService;
this._categoryService = categoryService;
this._manufacturerService = manufacturerService;
this._pictureService = pictureService;
this._urlRecordService = urlRecordService;
this._storeContext = storeContext;
this._newsLetterSubscriptionService = newsLetterSubscriptionService;
this._countryService = countryService;
this._stateProvinceService = stateProvinceService;
this._consignorService = consignorService;
this._authenticationService = authenticationService;
this._logger = logger; //NJM: AUConsignor
this._countrylotRepo = countrylotRepo;
this._stateprovincelotRepo = stateprovincelotRepo;
this._specificationAttributeRepo = specificationAttributeRepo;
this._specificationAttributeOptionRepo = specificationAttributeOptionRepo;
}
示例12: LoadSpecsFilters
public virtual void LoadSpecsFilters(Category category,
ISpecificationAttributeService specificationAttributeService, IWebHelper webHelper,
IWorkContext workContext)
{
if (category == null)
throw new ArgumentNullException("category");
var alreadyFilteredOptions = GetAlreadyFilteredSpecs(specificationAttributeService, webHelper, workContext);
var notFilteredOptions = GetNotFilteredSpecs(category.Id,
specificationAttributeService, webHelper, workContext);
if (alreadyFilteredOptions.Count > 0 || notFilteredOptions.Count > 0)
{
this.Enabled = true;
this.AlreadyFilteredItems = alreadyFilteredOptions.ToList().Select(x =>
{
var item = new SpecificationFilterItem();
item.SpecificationAttributeName = x.SpecificationAttributeName;
item.SpecificationAttributeOptionName = x.SpecificationAttributeOptionName;
return item;
}).ToList();
this.NotFilteredItems = notFilteredOptions.ToList().Select(x =>
{
var item = new SpecificationFilterItem();
item.SpecificationAttributeName = x.SpecificationAttributeName;
item.SpecificationAttributeOptionName = x.SpecificationAttributeOptionName;
//filter URL
var alreadyFilteredOptionIds = GetAlreadyFilteredSpecOptionIds(webHelper);
if (!alreadyFilteredOptionIds.Contains(x.SpecificationAttributeOptionId))
alreadyFilteredOptionIds.Add(x.SpecificationAttributeOptionId);
string newQueryParam = GenerateFilteredSpecQueryParam(alreadyFilteredOptionIds);
string filterUrl = webHelper.ModifyQueryString(webHelper.GetThisPageUrl(true), QUERYSTRINGPARAM + "=" + newQueryParam, null);
filterUrl = ExcludeQueryStringParams(filterUrl, webHelper);
item.FilterUrl = filterUrl;
return item;
}).ToList();
//remove filter URL
string removeFilterUrl = webHelper.RemoveQueryString(webHelper.GetThisPageUrl(true), QUERYSTRINGPARAM);
removeFilterUrl = ExcludeQueryStringParams(removeFilterUrl, webHelper);
this.RemoveFilterUrl = removeFilterUrl;
}
else
{
this.Enabled = false;
}
}
示例13: PrepareSpecsFilters
public virtual void PrepareSpecsFilters(IList<string> alreadyFilteredSpecOptionIds,
IList<string> filterableSpecificationAttributeOptionIds,
ISpecificationAttributeService specificationAttributeService,
IWebHelper webHelper,
IWorkContext workContext,
ICacheManager cacheManager)
{
string cacheKey = string.Format(ModelCacheEventConsumer.SPECS_FILTER_MODEL_KEY,
filterableSpecificationAttributeOptionIds != null ? string.Join(",", filterableSpecificationAttributeOptionIds) : "",
workContext.WorkingLanguage.Id);
var allFilters = cacheManager.Get(cacheKey, () =>
{
var _allFilters = new List<SpecificationAttributeOptionFilter>();
foreach (var sao in filterableSpecificationAttributeOptionIds)
{
int _specificationAttributeId = Convert.ToInt32(sao.Split(':').FirstOrDefault().ToString());
int _specificationAttributeOptionId = Convert.ToInt32(sao.Split(':').LastOrDefault().ToString());
var sa = EngineContext.Current.Resolve<ISpecificationAttributeService>().GetSpecificationAttributeById(_specificationAttributeId);
if (sa != null)
{
_allFilters.Add(new SpecificationAttributeOptionFilter
{
SpecificationAttributeId = sa.Id,
SpecificationAttributeName = sa.GetLocalized(x => x.Name, workContext.WorkingLanguage.Id),
SpecificationAttributeDisplayOrder = sa.DisplayOrder,
SpecificationAttributeOptionId = sao, //_specificationAttributeOptionId.ToString(), //sa.SpecificationAttributeOptions.FirstOrDefault(x=>x.Id == ),
SpecificationAttributeOptionName = sa.SpecificationAttributeOptions.FirstOrDefault(x => x.Id == _specificationAttributeOptionId).GetLocalized(x => x.Name, workContext.WorkingLanguage.Id),
SpecificationAttributeOptionDisplayOrder = sa.SpecificationAttributeOptions.FirstOrDefault(x => x.Id == _specificationAttributeOptionId).DisplayOrder
});
}
}
return _allFilters.ToList();
});
//sort loaded options
allFilters = allFilters.OrderBy(saof => saof.SpecificationAttributeDisplayOrder)
.ThenBy(saof => saof.SpecificationAttributeName)
.ThenBy(saof => saof.SpecificationAttributeOptionDisplayOrder)
.ThenBy(saof => saof.SpecificationAttributeOptionName).ToList();
//get already filtered specification options
var alreadyFilteredOptions = allFilters
.Where(x => alreadyFilteredSpecOptionIds.Contains(x.SpecificationAttributeOptionId))
.Select(x => x)
.ToList();
//get not filtered specification options
var notFilteredOptions = new List<SpecificationAttributeOptionFilter>();
foreach (var saof in allFilters)
{
//do not add already filtered specification options
if (alreadyFilteredOptions.FirstOrDefault(x => x.SpecificationAttributeId == saof.SpecificationAttributeId) != null)
continue;
//else add it
notFilteredOptions.Add(saof);
}
//prepare the model properties
if (alreadyFilteredOptions.Count > 0 || notFilteredOptions.Count > 0)
{
this.Enabled = true;
this.AlreadyFilteredItems = alreadyFilteredOptions.ToList().Select(x =>
{
var item = new SpecificationFilterItem();
item.SpecificationAttributeName = x.SpecificationAttributeName;
item.SpecificationAttributeOptionName = x.SpecificationAttributeOptionName;
return item;
}).ToList();
this.NotFilteredItems = notFilteredOptions.ToList().Select(x =>
{
var item = new SpecificationFilterItem();
item.SpecificationAttributeName = x.SpecificationAttributeName;
item.SpecificationAttributeOptionName = x.SpecificationAttributeOptionName;
//filter URL
var alreadyFilteredOptionIds = GetAlreadyFilteredSpecOptionIds(webHelper);
if (!alreadyFilteredOptionIds.Contains(x.SpecificationAttributeOptionId.ToString()))
alreadyFilteredOptionIds.Add(x.SpecificationAttributeOptionId.ToString());
string newQueryParam = GenerateFilteredSpecQueryParam(alreadyFilteredOptionIds);
string filterUrl = webHelper.ModifyQueryString(webHelper.GetThisPageUrl(true), QUERYSTRINGPARAM + "=" + newQueryParam, null);
filterUrl = ExcludeQueryStringParams(filterUrl, webHelper);
item.FilterUrl = filterUrl;
return item;
}).ToList();
//remove filter URL
string removeFilterUrl = webHelper.RemoveQueryString(webHelper.GetThisPageUrl(true), QUERYSTRINGPARAM);
removeFilterUrl = ExcludeQueryStringParams(removeFilterUrl, webHelper);
this.RemoveFilterUrl = removeFilterUrl;
}
else
{
this.Enabled = false;
}
//.........这里部分代码省略.........
示例14: CatalogController
public CatalogController(ICategoryService categoryService,
IManufacturerService manufacturerService, IProductService productService,
IProductTemplateService productTemplateService,
ICategoryTemplateService categoryTemplateService,
IManufacturerTemplateService manufacturerTemplateService,
IProductAttributeService productAttributeService, IProductAttributeParser productAttributeParser,
IWorkContext workContext, ITaxService taxService, ICurrencyService currencyService,
IPictureService pictureService, ILocalizationService localizationService,
IPriceCalculationService priceCalculationService, IPriceFormatter priceFormatter,
IWebHelper webHelper, ISpecificationAttributeService specificationAttributeService,
ICustomerContentService customerContentService, IDateTimeHelper dateTimeHelper,
IShoppingCartService shoppingCartService,
IRecentlyViewedProductsService recentlyViewedProductsService, ICompareProductsService compareProductsService,
IWorkflowMessageService workflowMessageService, IProductTagService productTagService,
IOrderReportService orderReportService, ICustomerService customerService,
IBackInStockSubscriptionService backInStockSubscriptionService,
IPermissionService permissionService, IDownloadService downloadService,
MediaSettings mediaSetting, CatalogSettings catalogSettings,
ShoppingCartSettings shoppingCartSettings, StoreInformationSettings storeInformationSettings,
LocalizationSettings localizationSettings, CustomerSettings customerSettings,
CaptchaSettings captchaSettings,
ICacheManager cacheManager)
{
this._categoryService = categoryService;
this._manufacturerService = manufacturerService;
this._productService = productService;
this._productTemplateService = productTemplateService;
this._categoryTemplateService = categoryTemplateService;
this._manufacturerTemplateService = manufacturerTemplateService;
this._productAttributeService = productAttributeService;
this._productAttributeParser = productAttributeParser;
this._workContext = workContext;
this._taxService = taxService;
this._currencyService = currencyService;
this._pictureService = pictureService;
this._localizationService = localizationService;
this._priceCalculationService = priceCalculationService;
this._priceFormatter = priceFormatter;
this._webHelper = webHelper;
this._specificationAttributeService = specificationAttributeService;
this._customerContentService = customerContentService;
this._dateTimeHelper = dateTimeHelper;
this._shoppingCartService = shoppingCartService;
this._recentlyViewedProductsService = recentlyViewedProductsService;
this._compareProductsService = compareProductsService;
this._workflowMessageService = workflowMessageService;
this._productTagService = productTagService;
this._orderReportService = orderReportService;
this._customerService = customerService;
this._backInStockSubscriptionService = backInStockSubscriptionService;
this._permissionService = permissionService;
this._downloadService = downloadService;
this._mediaSetting = mediaSetting;
this._catalogSettings = catalogSettings;
this._shoppingCartSettings = shoppingCartSettings;
this._storeInformationSettings = storeInformationSettings;
this._localizationSettings = localizationSettings;
this._customerSettings = customerSettings;
this._captchaSettings = captchaSettings;
this._cacheManager = cacheManager;
}
示例15: GroupDealsController
public GroupDealsController(
IProductService productService,
IProductTemplateService productTemplateService,
ICategoryService categoryService,
IManufacturerService manufacturerService,
ICustomerService customerService,
IUrlRecordService urlRecordService,
IWorkContext workContext,
ILanguageService languageService,
ILocalizationService localizationService,
ILocalizedEntityService localizedEntityService,
ISpecificationAttributeService specificationAttributeService,
IPictureService pictureService,
ITaxCategoryService taxCategoryService,
IProductTagService productTagService,
ICopyProductService copyProductService,
IPdfService pdfService,
IExportManager exportManager,
IImportManager importManager,
ICustomerActivityService customerActivityService,
IPermissionService permissionService,
IAclService aclService,
IStoreService storeService,
IOrderService orderService,
IStoreMappingService storeMappingService,
IVendorService vendorService,
IShippingService shippingService,
IShipmentService shipmentService,
ICurrencyService currencyService,
CurrencySettings currencySettings,
IMeasureService measureService,
MeasureSettings measureSettings,
AdminAreaSettings adminAreaSettings,
IDateTimeHelper dateTimeHelper,
IDiscountService discountService,
IProductAttributeService productAttributeService,
IBackInStockSubscriptionService backInStockSubscriptionService,
IShoppingCartService shoppingCartService,
IProductAttributeFormatter productAttributeFormatter,
IProductAttributeParser productAttributeParser,
IDownloadService downloadService,
IRepository<GroupDeal> groupDealRepo,
IRepository<GroupdealPicture> groupdealPictureRepo,
IGroupDealService groupdealService,
IGenericAttributeService genericAttributeService)
: base(productService,
productTemplateService,
categoryService,
manufacturerService,
customerService,
urlRecordService,
workContext,
languageService,
localizationService,
localizedEntityService,
specificationAttributeService,
pictureService,
taxCategoryService,
productTagService,
copyProductService,
pdfService,
exportManager,
importManager,
customerActivityService,
permissionService,
aclService,
storeService,
orderService,
storeMappingService,
vendorService,
shippingService,
shipmentService,
currencyService,
currencySettings,
measureService,
measureSettings,
adminAreaSettings,
dateTimeHelper,
discountService,
productAttributeService,
backInStockSubscriptionService,
shoppingCartService,
productAttributeFormatter,
productAttributeParser,
downloadService,
groupDealRepo,
groupdealPictureRepo,
groupdealService,
genericAttributeService)
{ }