Exemplo n.º 1
0
 public NopLinkTagHelper(AppSettings appSettings,
                         HtmlEncoder htmlEncoder,
                         IAssetPipeline assetPipeline,
                         INopHtmlHelper nopHtmlHelper,
                         IUrlHelperFactory urlHelperFactory) : base(urlHelperFactory, htmlEncoder)
 {
     _appSettings   = appSettings;
     _assetPipeline = assetPipeline ?? throw new ArgumentNullException(nameof(assetPipeline));
     _nopHtmlHelper = nopHtmlHelper;
 }
Exemplo n.º 2
0
 public NopScriptTagHelper(AppSettings appSettings,
                           HtmlEncoder htmlEncoder,
                           IAssetPipeline assetPipeline,
                           INopHtmlHelper nopHtmlHelper,
                           IUrlHelperFactory urlHelperFactory,
                           IWebHostEnvironment webHostEnvironment) : base(urlHelperFactory, htmlEncoder)
 {
     _appSettings        = appSettings;
     _assetPipeline      = assetPipeline ?? throw new ArgumentNullException(nameof(assetPipeline));
     _nopHtmlHelper      = nopHtmlHelper;
     _webHostEnvironment = webHostEnvironment;
 }
Exemplo n.º 3
0
 public NopLinkTagHelper(HtmlEncoder htmlEncoder,
                         INopHtmlHelper nopHtmlHelper,
                         IUrlHelperFactory urlHelperFactory) : base(urlHelperFactory, htmlEncoder)
 {
     _nopHtmlHelper = nopHtmlHelper;
 }
Exemplo n.º 4
0
 public CommonModelFactory(BlogSettings blogSettings,
                           CaptchaSettings captchaSettings,
                           CatalogSettings catalogSettings,
                           CommonSettings commonSettings,
                           CustomerSettings customerSettings,
                           DisplayDefaultFooterItemSettings displayDefaultFooterItemSettings,
                           ForumSettings forumSettings,
                           IActionContextAccessor actionContextAccessor,
                           IBlogService blogService,
                           ICategoryService categoryService,
                           ICurrencyService currencyService,
                           ICustomerService customerService,
                           IForumService forumService,
                           IGenericAttributeService genericAttributeService,
                           IHttpContextAccessor httpContextAccessor,
                           ILanguageService languageService,
                           ILocalizationService localizationService,
                           IManufacturerService manufacturerService,
                           INewsService newsService,
                           INopFileProvider fileProvider,
                           INopHtmlHelper nopHtmlHelper,
                           IPermissionService permissionService,
                           IPictureService pictureService,
                           IProductService productService,
                           IProductTagService productTagService,
                           IShoppingCartService shoppingCartService,
                           ISitemapGenerator sitemapGenerator,
                           IStaticCacheManager staticCacheManager,
                           IStoreContext storeContext,
                           IThemeContext themeContext,
                           IThemeProvider themeProvider,
                           ITopicService topicService,
                           IUrlHelperFactory urlHelperFactory,
                           IUrlRecordService urlRecordService,
                           IWebHelper webHelper,
                           IWorkContext workContext,
                           LocalizationSettings localizationSettings,
                           MediaSettings mediaSettings,
                           NewsSettings newsSettings,
                           SitemapSettings sitemapSettings,
                           SitemapXmlSettings sitemapXmlSettings,
                           StoreInformationSettings storeInformationSettings,
                           VendorSettings vendorSettings)
 {
     _blogSettings     = blogSettings;
     _captchaSettings  = captchaSettings;
     _catalogSettings  = catalogSettings;
     _commonSettings   = commonSettings;
     _customerSettings = customerSettings;
     _displayDefaultFooterItemSettings = displayDefaultFooterItemSettings;
     _forumSettings           = forumSettings;
     _actionContextAccessor   = actionContextAccessor;
     _blogService             = blogService;
     _categoryService         = categoryService;
     _currencyService         = currencyService;
     _customerService         = customerService;
     _forumService            = forumService;
     _genericAttributeService = genericAttributeService;
     _httpContextAccessor     = httpContextAccessor;
     _languageService         = languageService;
     _localizationService     = localizationService;
     _manufacturerService     = manufacturerService;
     _newsService             = newsService;
     _fileProvider            = fileProvider;
     _nopHtmlHelper           = nopHtmlHelper;
     _permissionService       = permissionService;
     _pictureService          = pictureService;
     _productService          = productService;
     _productTagService       = productTagService;
     _shoppingCartService     = shoppingCartService;
     _sitemapGenerator        = sitemapGenerator;
     _staticCacheManager      = staticCacheManager;
     _storeContext            = storeContext;
     _themeContext            = themeContext;
     _themeProvider           = themeProvider;
     _topicService            = topicService;
     _urlHelperFactory        = urlHelperFactory;
     _urlRecordService        = urlRecordService;
     _webHelper                = webHelper;
     _workContext              = workContext;
     _mediaSettings            = mediaSettings;
     _localizationSettings     = localizationSettings;
     _newsSettings             = newsSettings;
     _sitemapSettings          = sitemapSettings;
     _sitemapXmlSettings       = sitemapXmlSettings;
     _storeInformationSettings = storeInformationSettings;
     _vendorSettings           = vendorSettings;
 }
Exemplo n.º 5
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="helper">HTML Helper</param>
 /// <param name="overriddenRouteName">Overridden route name</param>
 public PageRenderingEvent(INopHtmlHelper helper, string overriddenRouteName = null)
 {
     Helper = helper;
     OverriddenRouteName = overriddenRouteName;
 }