Advertisement
Guest User

Untitled

a guest
Dec 11th, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 3.73 KB | None | 0 0
  1. public partial class CatalogController : PublicControllerBase
  2.     {
  3.         private readonly ICommonServices _services;
  4.         private readonly ICategoryService _categoryService;
  5.         private readonly IManufacturerService _manufacturerService;
  6.         private readonly IProductService _productService;
  7.         private readonly ICategoryTemplateService _categoryTemplateService;
  8.         private readonly IManufacturerTemplateService _manufacturerTemplateService;
  9.         private readonly ICurrencyService _currencyService;
  10.         private readonly IPictureService _pictureService;
  11.         private readonly IPriceFormatter _priceFormatter;
  12.         private readonly IOrderReportService _orderReportService;
  13.         private readonly IProductTagService _productTagService;
  14.         private readonly IRecentlyViewedProductsService _recentlyViewedProductsService;
  15.         private readonly ISpecificationAttributeService _specificationAttributeService;
  16.         private readonly IGenericAttributeService _genericAttributeService;
  17.         private readonly IAclService _aclService;
  18.         private readonly IStoreMappingService _storeMappingService;
  19.         private readonly ICatalogSearchService _catalogSearchService;
  20.         private readonly MediaSettings _mediaSettings;
  21.         private readonly CatalogSettings _catalogSettings;
  22.         private readonly ICompareProductsService _compareProductsService;
  23.         private readonly Lazy<ILanguageService> _languageService;
  24.         private readonly CatalogHelper _helper;
  25.         private readonly IBreadcrumb _breadcrumb;
  26.  
  27.         public CatalogController(
  28.             ICommonServices services,
  29.             ICategoryService categoryService,
  30.             IManufacturerService manufacturerService,
  31.             IProductService productService,
  32.             ICategoryTemplateService categoryTemplateService,
  33.             IManufacturerTemplateService manufacturerTemplateService,
  34.             ICurrencyService currencyService,
  35.             IOrderReportService orderReportService,
  36.             IProductTagService productTagService,
  37.             IRecentlyViewedProductsService recentlyViewedProductsService,
  38.             IPictureService pictureService,
  39.             IPriceFormatter priceFormatter,
  40.             ISpecificationAttributeService specificationAttributeService,
  41.             ICompareProductsService compareProductsService,
  42.             IGenericAttributeService genericAttributeService,
  43.             IAclService aclService,
  44.             IStoreMappingService storeMappingService,
  45.             ICatalogSearchService catalogSearchService,
  46.             MediaSettings mediaSettings,
  47.             CatalogSettings catalogSettings,
  48.             Lazy<ILanguageService> languageService,
  49.             CatalogHelper helper,
  50.             IBreadcrumb breadcrumb)
  51.         {
  52.             _services = services;
  53.             _categoryService = categoryService;
  54.             _manufacturerService = manufacturerService;
  55.             _productService = productService;
  56.             _categoryTemplateService = categoryTemplateService;
  57.             _manufacturerTemplateService = manufacturerTemplateService;
  58.             _currencyService = currencyService;
  59.             _orderReportService = orderReportService;
  60.             _productTagService = productTagService;
  61.             _recentlyViewedProductsService = recentlyViewedProductsService;
  62.             _compareProductsService = compareProductsService;
  63.             _pictureService = pictureService;
  64.             _priceFormatter = priceFormatter;
  65.             _specificationAttributeService = specificationAttributeService;
  66.             _genericAttributeService = genericAttributeService;
  67.             _aclService = aclService;
  68.             _storeMappingService = storeMappingService;
  69.             _catalogSearchService = catalogSearchService;
  70.             _mediaSettings = mediaSettings;
  71.             _catalogSettings = catalogSettings;
  72.             _languageService = languageService;
  73.             _helper = helper;
  74.             _breadcrumb = breadcrumb;
  75.         }
  76.  
  77. //some methods
  78.  
  79. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement