public ShipmentViewModelFactory(
     CatalogContentService catalogContentService,
     ShippingManagerFacade shippingManagerFacade,
     LanguageService languageService,
     IAddressBookService addressBookService,
     CartItemViewModelFactory cartItemViewModelFactory)
 {
     _catalogContentService    = catalogContentService;
     _shippingManagerFacade    = shippingManagerFacade;
     _languageService          = languageService;
     _addressBookService       = addressBookService;
     _cartItemViewModelFactory = cartItemViewModelFactory;
 }
 public ShipmentViewModelFactory(
     IContentLoader contentLoader,
     ShippingManagerFacade shippingManagerFacade,
     LanguageService languageService,
     ReferenceConverter referenceConverter,
     IAddressBookService addressBookService,
     CartItemViewModelFactory cartItemViewModelFactory,
     LanguageResolver languageResolver)
 {
     _contentLoader            = contentLoader;
     _shippingManagerFacade    = shippingManagerFacade;
     _languageService          = languageService;
     _referenceConverter       = referenceConverter;
     _addressBookService       = addressBookService;
     _cartItemViewModelFactory = cartItemViewModelFactory;
     _languageResolver         = languageResolver;
 }
 public ShipmentViewModelFactory(
     IContentLoader contentLoader,
     ShippingManagerFacade shippingManagerFacade,
     LanguageService languageService,
     ReferenceConverter referenceConverter,
     IAddressBookService addressBookService,
     CartItemViewModelFactory cartItemViewModelFactory,
     PreferredCultureAccessor preferredCulture,
     IRelationRepository relationRepository)
 {
     _contentLoader            = contentLoader;
     _shippingManagerFacade    = shippingManagerFacade;
     _languageService          = languageService;
     _referenceConverter       = referenceConverter;
     _addressBookService       = addressBookService;
     _cartItemViewModelFactory = cartItemViewModelFactory;
     _relationRepository       = relationRepository;
     _preferredCulture         = preferredCulture();
 }
Beispiel #4
0
 public QuickSilverCartAdapter(IContentLoaderWrapper contentLoaderWrapper,
                               IOrderRepository orderRepository,
                               IPromotionEngine promotionEngine,
                               IVsfPriceService priceService,
                               IMarketService marketService,
                               IEnumerable <IPaymentMethod> paymentMethods,
                               ShippingManagerFacade shippingManagerFacade,
                               ReferenceConverter referenceConverter,
                               OrderValidationService orderValidationService)
 {
     _contentLoaderWrapper   = contentLoaderWrapper;
     _orderRepository        = orderRepository;
     _promotionEngine        = promotionEngine;
     _priceService           = priceService;
     _marketService          = marketService;
     _paymentMethods         = paymentMethods;
     _shippingManagerFacade  = shippingManagerFacade;
     _referenceConverter     = referenceConverter;
     _orderValidationService = orderValidationService;
 }