public DashboardController(IRepository <CampaignCategoriesRecord> campaignCategoryRepository, IRepository <LinkCampaignAndCategoriesRecord> linkCampaignAndCategoryRepository, ICampaignService campaignService, IMailChimpSettingsService settingsService, IOrderService orderService, IWorkContextAccessor wca, IStoreService storeService, IimageHelper imageHelper, IMembershipService membershipService, IPayoutService payoutService, IOrchardServices services, IContentManager contentManager, IPromotionService promotionService, IPaymentInformationService paymentInfService, ICampaignCategoriesService campaignCategoryService, IRepository <CurrencyRecord> currencyRepository, IMessageService messageService, ITShirtCostService tshirtService, IProductService productService, INotifier notifier, ICookieCultureService cookieCultureService, ITeeyootMessagingService teeyootMessagingService, IWorkContextAccessor workContextAccessor, ITShirtCostService costService, IPriceConversionService priceConversionService, IRepository <TeeyootUserPart> users ) { _campaignCategoryRepository = campaignCategoryRepository; _linkCampaignAndCategoryRepository = linkCampaignAndCategoryRepository; _cookieCultureService = cookieCultureService; _campaignService = campaignService; _currencyRepository = currencyRepository; _orderService = orderService; _wca = wca; this._settingsService = settingsService; this._orderService = orderService; _storeService = storeService; _imageHelper = imageHelper; _membershipService = membershipService; _contentManager = contentManager; _payoutService = payoutService; _promotionService = promotionService; _campaignCategoryService = campaignCategoryService; _paymentInfService = paymentInfService; _messageService = messageService; _tshirtService = tshirtService; _productService = productService; _notifier = notifier; _teeyootMessagingService = teeyootMessagingService; Services = services; _costService = costService; Logger = NullLogger.Instance; _priceConversionService = priceConversionService; _users = users; _workContextAccessor = workContextAccessor; culture = _workContextAccessor.GetContext().CurrentCulture.Trim(); cultureUsed = culture == "en-SG" ? "en-SG" : (culture == "id-ID" ? "id-ID" : "en-MY"); }
public CampaignController( ICampaignService campaignService, ITShirtCostService tshirtService, IProductService productService, IPromotionService promotionService, IRepository<CurrencyRecord> currencyRepository, IWorkContextAccessor wca, INotifier notifier, IOrchardServices services, ICookieCultureService cookieCultureService, ICountryService countryService) { _currencyRepository = currencyRepository; Services = services; _tshirtService = tshirtService; _productService = productService; _campaignService = campaignService; _promotionService = promotionService; _wca = wca; _notifier = notifier; Logger = NullLogger.Instance; _cookieCultureService = cookieCultureService; //var culture = _wca.GetContext().CurrentCulture.Trim(); _cultureUsed = _wca.GetContext().CurrentCulture.Trim(); //cultureUsed = culture == "en-SG" ? "en-SG" : (culture == "id-ID" ? "id-ID" : "en-MY"); _countryService = countryService; }
public MenuCulturePickerDriver(ICultureService cultureService //, IBrowserCultureService browserCultureService , ICookieCultureService cookieCultureService) { _cultureService = cultureService; //_browserCultureService = browserCultureService; _cookieCultureService = cookieCultureService; }
public DashboardController(IRepository<CampaignCategoriesRecord> campaignCategoryRepository, IRepository<LinkCampaignAndCategoriesRecord> linkCampaignAndCategoryRepository, ICampaignService campaignService, IMailChimpSettingsService settingsService, IOrderService orderService, IWorkContextAccessor wca, IStoreService storeService, IimageHelper imageHelper, IMembershipService membershipService, IPayoutService payoutService, IOrchardServices services, IContentManager contentManager, IPromotionService promotionService, IPaymentInformationService paymentInfService, ICampaignCategoriesService campaignCategoryService, IRepository<CurrencyRecord> currencyRepository, IMessageService messageService, ITShirtCostService tshirtService, IProductService productService, INotifier notifier, ICookieCultureService cookieCultureService, ITeeyootMessagingService teeyootMessagingService, IWorkContextAccessor workContextAccessor ) { _campaignCategoryRepository = campaignCategoryRepository; _linkCampaignAndCategoryRepository = linkCampaignAndCategoryRepository; _cookieCultureService = cookieCultureService; _campaignService = campaignService; _currencyRepository = currencyRepository; _orderService = orderService; _wca = wca; this._settingsService = settingsService; this._orderService = orderService; _storeService = storeService; _imageHelper = imageHelper; _membershipService = membershipService; _contentManager = contentManager; _payoutService = payoutService; _promotionService = promotionService; _campaignCategoryService = campaignCategoryService; _paymentInfService = paymentInfService; _messageService = messageService; _tshirtService = tshirtService; _productService = productService; _notifier = notifier; _teeyootMessagingService = teeyootMessagingService; Services = services; Logger = NullLogger.Instance; _workContextAccessor = workContextAccessor; culture = _workContextAccessor.GetContext().CurrentCulture.Trim(); cultureUsed = culture == "en-SG" ? "en-SG" : (culture == "id-ID" ? "id-ID" : "en-MY"); }
public CookieCultureController(ICookieCultureService cookieCultureService, IOrchardServices orchardServices, IRepository<UserPartRecord> userPartRepository, IRepository<CultureRecord> cultureRepository) { _cookieCultureService = cookieCultureService; _userPartRepository = userPartRepository; _orchardServices = orchardServices; _cultureRepository = cultureRepository; }
public CookieCultureController(ICookieCultureService cookieCultureService, IOrchardServices orchardServices, IRepository <UserPartRecord> userPartRepository, IRepository <CultureRecord> cultureRepository) { _cookieCultureService = cookieCultureService; _userPartRepository = userPartRepository; _orchardServices = orchardServices; _cultureRepository = cultureRepository; }
public CookieCulturePickerDriver(IOrchardServices orchardServices , ICultureService cultureService , IHomePageService homePageService , IBrowserCultureService browserCultureService , ICookieCultureService cookieCultureService) { _orchardServices = orchardServices; _cultureService = cultureService; _homePageService = homePageService; _browserCultureService = browserCultureService; _cookieCultureService = cookieCultureService; }
public HomeController( IOrderService orderService, ICampaignService campaignService, INotifier notifier, IPromotionService promotionService, IimageHelper imageHelper, IPaymentSettingsService paymentSettingsService, IShapeFactory shapeFactory, ITeeyootMessagingService teeyootMessagingService, IWorkContextAccessor workContextAccessor, IRepository<UserRolesPartRecord> userRolesPartRepository, IRepository<TeeyootUserPartRecord> userRepository, IPayoutService payoutService, IRepository<CommonSettingsRecord> commonSettingsRepository, IRepository<CheckoutCampaignRequest> checkoutRequestRepository, ICookieCultureService cookieCultureService, IRepository<OrderStatusRecord> orderStatusRepository, ICountryService countryService, IRepository<CountryRecord> countryRepository, IRepository<DeliverySettingRecord> deliverySettingRepository, IRepository<DeliveryInternationalSettingRecord> deliveryInternationalSettingRepository, IRepository<CurrencyExchangeRecord> currencyExchangeRepository) { _orderService = orderService; _promotionService = promotionService; _campaignService = campaignService; _imageHelper = imageHelper; _userRolesPartRepository = userRolesPartRepository; _payoutService = payoutService; _teeyootMessagingService = teeyootMessagingService; _paymentSettingsService = paymentSettingsService; _commonSettingsRepository = commonSettingsRepository; _checkoutRequestRepository = checkoutRequestRepository; _userRepository = userRepository; _orderStatusRepository = orderStatusRepository; _countryRepository = countryRepository; _deliverySettingRepository = deliverySettingRepository; _deliveryInternationalSettingRepository = deliveryInternationalSettingRepository; _currencyExchangeRepository = currencyExchangeRepository; Logger = NullLogger.Instance; _notifier = notifier; T = NullLocalizer.Instance; Shape = shapeFactory; //var culture = _workContextAccessor.GetContext().CurrentCulture.Trim(); _cultureUsed = workContextAccessor.GetContext().CurrentCulture.Trim(); //culture == "en-SG" ? "en-SG" : (culture == "id-ID" ? "id-ID" : "en-MY"); _cookieCultureService = cookieCultureService; _countryService = countryService; }
public CampaignController( ICampaignService campaignService, ITShirtCostService tshirtService, IProductService productService, IPromotionService promotionService, IRepository <CurrencyRecord> currencyRepository, IWorkContextAccessor wca, INotifier notifier, IOrchardServices services, ICookieCultureService cookieCultureService, ICountryService countryService, IPriceConversionService priceConversionService, IOrderService orderService, IRepository <TeeyootUserPartRecord> userRepository, IMultiCountryService imulticountryservice, IRepository <CurrencyExchangeRecord> currencyExchangeRepository, IMultiCountryService multiCountryService ) { _currencyRepository = currencyRepository; Services = services; _tshirtService = tshirtService; _productService = productService; _campaignService = campaignService; _promotionService = promotionService; _wca = wca; _notifier = notifier; Logger = NullLogger.Instance; _cookieCultureService = cookieCultureService; //var culture = _wca.GetContext().CurrentCulture.Trim(); _cultureUsed = _wca.GetContext().CurrentCulture.Trim(); //cultureUsed = culture == "en-SG" ? "en-SG" : (culture == "id-ID" ? "id-ID" : "en-MY"); _countryService = countryService; _priceConversionService = priceConversionService; _orderService = orderService; _userRepository = userRepository; _imulticountryservice = imulticountryservice; _currencyExchangeRepository = currencyExchangeRepository; _multiCountryService = multiCountryService; }
public CookieCultureController(ICookieCultureService cookieCultureService, ICultureService cultureService) { _cookieCultureService = cookieCultureService; _cultureService = cultureService; }
public CookieCultureSelector(ICookieCultureService cookieCultureService) { _cookieCultureService = cookieCultureService; }
public CookieCultureSelector(ICookieCultureService cookieCultureService, IRepository<CultureRecord> cultureRepository) { _cookieCultureService = cookieCultureService; _cultureRepository = cultureRepository; }
public CookieCultureController(ICookieCultureService cookieCultureService, IClock clock) { _cookieCultureService = cookieCultureService; _clock = clock; }
public CookieCultureSelector(ICookieCultureService cookieCultureService, IRepository <CultureRecord> cultureRepository) { _cookieCultureService = cookieCultureService; _cultureRepository = cultureRepository; }