/// <summary> /// Ctor /// </summary> /// <param name="cacheManager">Cache manager</param> /// <param name="currencyRepository">Currency repository</param> /// <param name="customerService">Customer service</param> /// <param name="currencySettings">Currency settings</param> /// <param name="pluginFinder">Plugin finder</param> /// <param name="eventPublisher">Event published</param> public CurrencyService(ICacheManager cacheManager, IRepository<Currency> currencyRepository, IUserService userService, CurrencySettings currencySettings, IPluginFinder pluginFinder, IEventPublisher eventPublisher) { this.cacheManager = cacheManager; this.currencyRepository = currencyRepository; this.userService = userService; this.currencySettings = currencySettings; this.pluginFinder = pluginFinder; this.eventPublisher = eventPublisher; }
public WebWorkContext(HttpContextBase httpContext, IUserService userservice, IAuthenticationService authenticationService, ILanguageService languageService, ICurrencyService currencyService, CurrencySettings currencySettings, ISessionManager sessionManager, LocalizationSettings localizationSettings, IWebHelper webHelper) { this.httpContext = httpContext; this.userservice = userservice; this.authenticationService = authenticationService; this.languageService = languageService; this.currencyService = currencyService; this.currencySettings = currencySettings; this.sessionManager = sessionManager; this.localizationSettings = localizationSettings; this.webHelper = webHelper; }