public ReferencePropertyGetter(IContentLoader contentLoader, 
     LocalizationService localizationService, 
     IContentTypeRepository contentTypeRepository)
 {
     _contentLoader = contentLoader;
     _localizationService = localizationService;
     _contentTypeRepository = contentTypeRepository;
 }
 public FindProductUiSearchProvider(LocalizationService localizationService, ICatalogSystem catalogSystem)
     : this(localizationService, 
            catalogSystem, 
            ServiceLocator.Current.GetInstance<ReferenceConverter>(), 
            ServiceLocator.Current.GetInstance<IContentLoader>())
 {
 }
 public FilterOptionViewModelBinder(IContentLoader contentLoader, 
     LocalizationService localizationService,
     PreferredCultureAccessor preferredCulture)
 {
     _contentLoader = contentLoader;
     _localizationService = localizationService;
     _preferredCulture = preferredCulture();
 }
Ejemplo n.º 4
0
 public BackendLoginController(LocalizationService localizationService, 
     ApplicationSignInManager signInManager,
     UrlAuthorizationFacade urlAuthorization)
 {
     _localizationService = localizationService;
     _signInManager = signInManager;
     _urlAuthorization = urlAuthorization;
 }
 public FindProductUiSearchProvider(LocalizationService localizationService, ICatalogSystem catalogSystem, ReferenceConverter referenceConverter, IContentLoader contentLoader)
 {
     _catalogSystem = catalogSystem;
     _localizationService = localizationService;
     _catalogContext = catalogSystem;
     _referenceConverter = referenceConverter;
     _contentLoader = contentLoader;
 }
 public FilterOptionFormModelBinder(IContentLoader contentLoader, 
     LocalizationService localizationService,
     Func<CultureInfo> preferredCulture)
 {
     _contentLoader = contentLoader;
     _localizationService = localizationService;
     _preferredCulture = preferredCulture();
 }
 public GenericCreditCardPaymentMethod(LocalizationService localizationService)
     : base(localizationService)
 {
     ExpirationMonth = DateTime.Now.Month;
     CreditCardSecurityCode = "212";
     CardType = "Generic";
     CreditCardNumber = "4662519843660534";
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DisplayOptionsStore"/> class.
 /// </summary>
 public DisplayOptionsStore(
     IDisplayOptionsResolver displayOptionsResolver,
     LocalizationService localizationService,
     ITypeResolver typeResolver)
 {
     this.displayOptionsResolver = displayOptionsResolver;
     this.localizationService = localizationService;
     this.typeResolver = typeResolver;
 }
Ejemplo n.º 9
0
        public NavigationController(IContentLoader contentLoader, ICartService cartService, ICartService wishListService, UrlHelper urlHelper, LocalizationService localizationService)
        {
            _contentLoader = contentLoader;
            _cartService = cartService;
            _wishListService = wishListService;
            _urlHelper = urlHelper;
            _localizationService = localizationService;

            _wishListService.InitializeAsWishList();
        }
Ejemplo n.º 10
0
 public UserService(ApplicationUserManager userManager, 
     ApplicationSignInManager signInManager, 
     IAuthenticationManager authenticationManager,
     LocalizationService localizationService,
     CustomerContextFacade customerContextFacade)
 {
     _signInManager = signInManager;
     _userManager = userManager;
     _authenticationManager = authenticationManager;
     _localizationService = localizationService;
     _customerContext = customerContextFacade; 
 }
Ejemplo n.º 11
0
 public NavigationController(
     IContentLoader contentLoader, 
     ICartService cartService, 
     UrlHelper urlHelper, 
     LocalizationService localizationService,
     CartViewModelFactory cartViewModelFactory)
 {
     _contentLoader = contentLoader;
     _cartService = cartService;
     _urlHelper = urlHelper;
     _localizationService = localizationService;
     _cartViewModelFactory = cartViewModelFactory;
 }
 public MultiShipmentViewModelFactory(
     LocalizationService localizationService,
     IAddressBookService addressBookService,
     IContentLoader contentLoader,
     UrlResolver urlResolver,
     ServiceAccessor<HttpContextBase> httpContextAccessor,
     ShipmentViewModelFactory shipmentViewModelFactory)
 {
     _localizationService = localizationService;
     _addressBookService = addressBookService;
     _contentLoader = contentLoader;
     _urlResolver = urlResolver;
     _httpContextAccessor = httpContextAccessor;
     _shipmentViewModelFactory = shipmentViewModelFactory;
 }
Ejemplo n.º 13
0
 public SearchService(ICurrentMarket currentMarket, 
     ICurrencyService currencyService, 
     UrlResolver urlResolver, 
     SearchFacade search,
     Func<CultureInfo> preferredCulture,
     IContentLoader contentLoader,
     LocalizationService localizationService)
 {
     _search = search;
     _currentMarket = currentMarket;
     _currencyService = currencyService;
     _urlResolver = urlResolver;
     _preferredCulture = preferredCulture();
     _contentLoader = contentLoader;
     _localizationService = localizationService;
 }
 public CheckoutViewModelFactory(
     LocalizationService localizationService,
     PaymentMethodViewModelFactory paymentMethodViewModelFactory,
     IAddressBookService addressBookService,
     IContentLoader contentLoader,
     IOrderFactory orderFactory,
     UrlResolver urlResolver,
     ServiceAccessor<HttpContextBase> httpContextAccessor,
     ShipmentViewModelFactory shipmentViewModelFactory)
 {
     _localizationService = localizationService;
     _paymentMethodViewModelFactory = paymentMethodViewModelFactory;
     _addressBookService = addressBookService;
     _contentLoader = contentLoader;
     _orderFactory = orderFactory;
     _urlResolver = urlResolver;
     _httpContextAccessor = httpContextAccessor;
     _shipmentViewModelFactory = shipmentViewModelFactory;
 }
 public CheckoutControllerForTest(ICartService cartService, IContentRepository contentRepository, UrlResolver urlResolver, IMailService mailService, ICheckoutService checkoutService, IContentLoader contentLoader, IPaymentService paymentService, LocalizationService localizationService, Func<string,CartHelper> cartHelper, CurrencyService currencyService, AddressBookService addressBookService, ControllerExceptionHandler controllerExceptionHandler, CustomerContextFacade customerContextFacade)
     : base(cartService, contentRepository, urlResolver, mailService, checkoutService, contentLoader, paymentService, localizationService, cartHelper, currencyService, addressBookService, controllerExceptionHandler,customerContextFacade)
 {
 }
Ejemplo n.º 16
0
 public PaymentMethodBase(LocalizationService localizationService)
 {
     _localizationService = localizationService;
 }
Ejemplo n.º 17
0
 protected PaymentMethodBase(LocalizationService localizationService)
 {
     _localizationService = localizationService;
 }
 public CheckoutControllerForTest(
     IContentRepository contentRepository,
     IMailService mailService,
     LocalizationService localizationService,
     ICurrencyService currencyService,
     ControllerExceptionHandler controllerExceptionHandler,
     CustomerContextFacade customerContextFacade,
     IOrderRepository orderRepository,
     CheckoutViewModelFactory checkoutViewModelFactory,
     IOrderGroupCalculator orderGroupCalculator,
     IPaymentProcessor paymentProcessor,
     IPromotionEngine promotionEngine,
     ICartService cartService,
     IAddressBookService addressBookService,
     OrderSummaryViewModelFactory orderSummaryViewModelFactory,
     IOrderFactory orderFactory
     )
     : base(contentRepository,
           mailService,
           localizationService,
           currencyService,
           controllerExceptionHandler,
           customerContextFacade,
           orderRepository,
           checkoutViewModelFactory,
           orderGroupCalculator,
           paymentProcessor,
           promotionEngine,
           cartService,
           addressBookService,
           orderSummaryViewModelFactory,
           orderFactory)
 {
 }
 public AddressBookControllerForTest(IContentLoader contentLoader, IAddressBookService addressBookService, LocalizationService localizationService, ControllerExceptionHandler controllerExceptionHandler)
     : base(contentLoader, addressBookService, localizationService, controllerExceptionHandler)
 {
 }
 public CashOnDeliveryPaymentMethod(LocalizationService localizationService)
     : base(localizationService)
 {   
 }
Ejemplo n.º 21
0
 public PaymentService(Func<string, CartHelper> cartHelper, LocalizationService localizationService)
 {
     _cartHelper = cartHelper;
     _localizationService = localizationService;
 }
 public CashOnDeliveryPaymentMethod(LocalizationService localizationService, IOrderFactory orderFactory)
     : base(localizationService)
 {
     _orderFactory = orderFactory;
 }
Ejemplo n.º 23
0
 public LoginControllerForTest(ApplicationSignInManager signInManager, ApplicationUserManager userManager, UserService userService, LocalizationService localizationService, IContentLoader contentLoader, IAddressBookService addressBookService, ControllerExceptionHandler controllerExceptionHandler)
     : base(signInManager, userManager, userService, localizationService, contentLoader, addressBookService, controllerExceptionHandler)
 {
 }