本文整理汇总了C#中IWebHelper类的典型用法代码示例。如果您正苦于以下问题:C# IWebHelper类的具体用法?C# IWebHelper怎么用?C# IWebHelper使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IWebHelper类属于命名空间,在下文中一共展示了IWebHelper类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ImageCache
public ImageCache(MediaSettings mediaSettings, IWebHelper webHelper)
{
this._mediaSettings = mediaSettings;
this._webHelper = webHelper;
_cacheRootDir = new DirectoryInfo(_webHelper.MapPath("~/Media/Thumbs"));
}
示例2: FroogleService
public FroogleService(IScheduleTaskService scheduleTaskService,
IGoogleService googleService,
IProductService productService,
ICategoryService categoryService,
IManufacturerService manufacturerService,
IPictureService pictureService,
ICurrencyService currencyService,
IWebHelper webHelper,
ISettingService settingService,
IWorkContext workContext,
IMeasureService measureService,
MeasureSettings measureSettings,
StoreInformationSettings storeInformationSettings,
FroogleSettings froogleSettings,
CurrencySettings currencySettings,
GoogleProductObjectContext objectContext)
{
this._scheduleTaskService = scheduleTaskService;
this._googleService = googleService;
this._productService = productService;
this._categoryService = categoryService;
this._manufacturerService = manufacturerService;
this._pictureService = pictureService;
this._currencyService = currencyService;
this._webHelper = webHelper;
this._settingService = settingService;
this._workContext = workContext;
this._measureService = measureService;
this._measureSettings = measureSettings;
this._storeInformationSettings = storeInformationSettings;
this._froogleSettings = froogleSettings;
this._currencySettings = currencySettings;
this._objectContext = objectContext;
}
示例3: BlogController
public BlogController(IBlogService blogService,
IWorkContext workContext,
IStoreContext storeContext,
IPictureService pictureService,
ILocalizationService localizationService,
IDateTimeHelper dateTimeHelper,
IWorkflowMessageService workflowMessageService,
IWebHelper webHelper,
ICacheManager cacheManager,
ICustomerActivityService customerActivityService,
IStoreMappingService storeMappingService,
MediaSettings mediaSettings,
BlogSettings blogSettings,
LocalizationSettings localizationSettings,
CustomerSettings customerSettings,
CaptchaSettings captchaSettings)
{
this._blogService = blogService;
this._workContext = workContext;
this._storeContext = storeContext;
this._pictureService = pictureService;
this._localizationService = localizationService;
this._dateTimeHelper = dateTimeHelper;
this._workflowMessageService = workflowMessageService;
this._webHelper = webHelper;
this._cacheManager = cacheManager;
this._customerActivityService = customerActivityService;
this._storeMappingService = storeMappingService;
this._mediaSettings = mediaSettings;
this._blogSettings = blogSettings;
this._localizationSettings = localizationSettings;
this._customerSettings = customerSettings;
this._captchaSettings = captchaSettings;
}
示例4: OAuthWebRequestGenerator
public OAuthWebRequestGenerator(
IWebHelper webHelper,
ITweetinviSettingsAccessor tweetinviSettingsAccessor)
{
_webHelper = webHelper;
_tweetinviSettingsAccessor = tweetinviSettingsAccessor;
}
示例5: PluginController
public PluginController(IPluginFinder pluginFinder,
IOfficialFeedManager officialFeedManager,
ILocalizationService localizationService,
IWebHelper webHelper,
IPermissionService permissionService,
ILanguageService languageService,
ISettingService settingService,
IStoreService storeService,
PaymentSettings paymentSettings,
ShippingSettings shippingSettings,
TaxSettings taxSettings,
ExternalAuthenticationSettings externalAuthenticationSettings,
WidgetSettings widgetSettings)
{
this._pluginFinder = pluginFinder;
this._officialFeedManager = officialFeedManager;
this._localizationService = localizationService;
this._webHelper = webHelper;
this._permissionService = permissionService;
this._languageService = languageService;
this._settingService = settingService;
this._storeService = storeService;
this._paymentSettings = paymentSettings;
this._shippingSettings = shippingSettings;
this._taxSettings = taxSettings;
this._externalAuthenticationSettings = externalAuthenticationSettings;
this._widgetSettings = widgetSettings;
}
示例6: SettingController
public SettingController(ISettingService settingService,
ICountryService countryService, IStateProvinceService stateProvinceService,
IAddressService addressService, ITaxCategoryService taxCategoryService,
ICurrencyService currencyService, IPictureService pictureService,
ILocalizationService localizationService, IDateTimeHelper dateTimeHelper,
IOrderService orderService, IEncryptionService encryptionService,
IThemeProvider themeProvider, ICustomerService customerService,
ICustomerActivityService customerActivityService, IPermissionService permissionService,
IWebHelper webHelper, IFulltextService fulltextService,
IMaintenanceService maintenanceService, IStoreService storeService,
IWorkContext workContext, IGenericAttributeService genericAttributeService)
{
this._settingService = settingService;
this._countryService = countryService;
this._stateProvinceService = stateProvinceService;
this._addressService = addressService;
this._taxCategoryService = taxCategoryService;
this._currencyService = currencyService;
this._pictureService = pictureService;
this._localizationService = localizationService;
this._dateTimeHelper = dateTimeHelper;
this._orderService = orderService;
this._encryptionService = encryptionService;
this._themeProvider = themeProvider;
this._customerService = customerService;
this._customerActivityService = customerActivityService;
this._permissionService = permissionService;
this._webHelper = webHelper;
this._fulltextService = fulltextService;
this._maintenanceService = maintenanceService;
this._storeService = storeService;
this._workContext = workContext;
this._genericAttributeService = genericAttributeService;
}
示例7: WebWorkContext
public WebWorkContext(HttpContextBase httpContext,
ICustomerService customerService,
IVendorService vendorService,
IStoreContext storeContext,
IAuthenticationService authenticationService,
ILanguageService languageService,
ICurrencyService currencyService,
IGenericAttributeService genericAttributeService,
TaxSettings taxSettings, CurrencySettings currencySettings,
LocalizationSettings localizationSettings,
IWebHelper webHelper)
{
this._httpContext = httpContext;
this._customerService = customerService;
this._vendorService = vendorService;
this._storeContext = storeContext;
this._authenticationService = authenticationService;
this._languageService = languageService;
this._currencyService = currencyService;
this._genericAttributeService = genericAttributeService;
this._taxSettings = taxSettings;
this._currencySettings = currencySettings;
this._localizationSettings = localizationSettings;
this._webHelper = webHelper;
}
示例8: mobSocialApiController
public mobSocialApiController(IPermissionService permissionService,
IWorkContext workContext, AdminAreaSettings adminAreaSettings, ILocalizationService localizationService,
IPictureService pictureService, IMobSocialService socialNetworkService, ICustomerService customerService,
ICustomerAlbumPictureService customerAlbumPictureService, mobSocialSettings mobSocialSettings, MediaSettings mediaSettings, CustomerSettings customerSettings,
ForumSettings forumSettings, RewardPointsSettings rewardPointsSettings, OrderSettings orderSettings,
IStoreContext storeContext, IWebHelper webHelper, IUrlRecordService urlRecordService, IRepository<UrlRecord> urlRecordRepository,
ICustomerVideoAlbumService customerVideoAlbumService, CustomerProfileViewService customerProfileViewService)
{
_permissionService = permissionService;
_workContext = workContext;
_adminAreaSettings = adminAreaSettings;
_localizationService = localizationService;
_pictureService = pictureService;
_socialNetworkService = socialNetworkService;
_customerService = customerService;
_customerAlbumPictureService = customerAlbumPictureService;
_mobSocialSettings = mobSocialSettings;
_mediaSettings = mediaSettings;
_customerSettings = customerSettings;
_forumSettings = forumSettings;
_rewardPointsSettings = rewardPointsSettings;
_orderSettings = orderSettings;
_storeContext = storeContext;
_webHelper = webHelper;
_urlRecordService = urlRecordService;
_urlRecordRepository = urlRecordRepository;
_customerVideoAlbumService = customerVideoAlbumService;
_customerProfileViewService = customerProfileViewService;
}
示例9: WebWorkContext
public WebWorkContext(Func<string, ICacheManager> cacheManager,
HttpContextBase httpContext,
ICustomerService customerService,
IStoreContext storeContext,
IAuthenticationService authenticationService,
ILanguageService languageService,
ICurrencyService currencyService,
IGenericAttributeService attrService,
TaxSettings taxSettings, CurrencySettings currencySettings,
LocalizationSettings localizationSettings, Lazy<ITaxService> taxService,
IWebHelper webHelper, IStoreService storeService, ISettingService settingService)
{
this._cacheManager = cacheManager("static");
this._httpContext = httpContext;
this._customerService = customerService;
this._storeContext = storeContext;
this._authenticationService = authenticationService;
this._languageService = languageService;
this._attrService = attrService;
this._currencyService = currencyService;
this._taxSettings = taxSettings;
this._taxService = taxService;
this._currencySettings = currencySettings;
this._localizationSettings = localizationSettings;
this._webHelper = webHelper;
this._storeService = storeService;
this._settingService = settingService;
}
示例10: VkCommunityPlugin
public VkCommunityPlugin(IPictureService pictureService,
ISettingService settingService, IWebHelper webHelper)
{
this._pictureService = pictureService;
this._settingService = settingService;
this._webHelper = webHelper;
}
示例11: TestController
public TestController(ILanguageService languageService,
ICurrencyService currencyService, ILocalizationService localizationService,
IWorkContext workContext, IInstallationService installationService,
IQueuedEmailService queuedEmailService, IEmailAccountService emailAccountService,
IUserService userService, IWebHelper webHelper, ICacheManager cacheManager,
IPermissionService permissionService, IMobileDeviceHelper mobileDeviceHelper,
HttpContextBase httpContext, UserSettings userSettings, MediaSettings mediaSettings,
SiteInformationSettings siteInformationSettings, EmailAccountSettings emailAccountSettings,
CommonSettings commonSettings, LocalizationSettings localizationSettings)
{
this.languageService = languageService;
this.currencyService = currencyService;
this.localizationService = localizationService;
this.workContext = workContext;
this.queuedEmailService = queuedEmailService;
this.emailAccountService = emailAccountService;
this.installationService = installationService;
this.userService = userService;
this.webHelper = webHelper;
this.permissionService = permissionService;
this.mobileDeviceHelper = mobileDeviceHelper;
this.mediaSettings = mediaSettings;
this.httpContext = httpContext;
this.userSettings = userSettings;
this.siteInformationSettings = siteInformationSettings;
this.emailAccountSettings = emailAccountSettings;
this.cacheManager = cacheManager;
this.commonSettings = commonSettings;
this.localizationSettings = localizationSettings;
}
示例12: DefaultLogger
/// <summary>
/// Ctor
/// </summary>
/// <param name="logRepository">Log repository</param>
/// <param name="webHelper">Web helper</param>>
/// <param name="dbContext">DB context</param>>
/// <param name="dataProvider">WeData provider</param>
/// <param name="commonSettings">Common settings</param>
public DefaultLogger(IRepository<Log> logRepository, IWebHelper webHelper, IDbContext dbContext, IDataProvider dataProvider)
{
this._logRepository = logRepository;
this._webHelper = webHelper;
this._dbContext = dbContext;
this._dataProvider = dataProvider;
}
示例13: ProductCustomizerPlugin
public ProductCustomizerPlugin(IPictureService pictureService,
ISettingService settingService, IWebHelper webHelper)
{
this._pictureService = pictureService;
this._settingService = settingService;
this._webHelper = webHelper;
}
示例14: CheckoutAttributeFormatter
public CheckoutAttributeFormatter(IWorkContext workContext,
ICheckoutAttributeService checkoutAttributeService,
ICheckoutAttributeParser checkoutAttributeParser,
ICurrencyService currencyService,
ITaxService taxService,
IPriceFormatter priceFormatter,
IDownloadService downloadService,
IWebHelper webHelper,
PromoSettings promoSettings,
IPromoUtilities qixolPromoUtilities,
IAttributeValueService attributeValueService)
: base(workContext, checkoutAttributeService, checkoutAttributeParser,
currencyService, taxService, priceFormatter,
downloadService, webHelper)
{
this._workContext = workContext;
this._checkoutAttributeService = checkoutAttributeService;
this._checkoutAttributeParser = checkoutAttributeParser;
this._currencyService = currencyService;
this._taxService = taxService;
this._priceFormatter = priceFormatter;
this._downloadService = downloadService;
this._webHelper = webHelper;
this._promoSettings = promoSettings;
this._qixolPromoUtilities = qixolPromoUtilities;
this._attributeValueService = attributeValueService;
}
示例15: CheckoutController
public CheckoutController(IWorkContext workContext,
IShoppingCartService shoppingCartService, ILocalizationService localizationService,
ITaxService taxService, ICurrencyService currencyService,
IPriceFormatter priceFormatter, IOrderProcessingService orderProcessingService,
ICustomerService customerService, ICountryService countryService,
IStateProvinceService stateProvinceService, IShippingService shippingService,
IPaymentService paymentService, IOrderTotalCalculationService orderTotalCalculationService,
ILogger logger, IOrderService orderService, IWebHelper webHelper,
OrderSettings orderSettings, RewardPointsSettings rewardPointsSettings,
PaymentSettings paymentSettings)
{
this._workContext = workContext;
this._shoppingCartService = shoppingCartService;
this._localizationService = localizationService;
this._taxService = taxService;
this._currencyService = currencyService;
this._priceFormatter = priceFormatter;
this._orderProcessingService = orderProcessingService;
this._customerService = customerService;
this._countryService = countryService;
this._stateProvinceService = stateProvinceService;
this._shippingService = shippingService;
this._paymentService = paymentService;
this._orderTotalCalculationService = orderTotalCalculationService;
this._logger = logger;
this._orderService = orderService;
this._webHelper = webHelper;
this._orderSettings = orderSettings;
this._rewardPointsSettings = rewardPointsSettings;
this._paymentSettings = paymentSettings;
}