public ProductViewModelFactoryWithTestGetLookupImageUrl( IViewModelMapper viewModelMapper, IProductRepository productRepository, IDamProvider damProvider, ILocalizationProvider localizationProvider, ILookupService lookupService, IProductUrlProvider productUrlProvider, IScopeViewService scopeViewService, IRecurringOrdersRepository recurringOrdersRepository, IRecurringOrderProgramViewModelFactory recurringOrderProgramViewModelFactory, IRecurringOrdersSettings recurringOrdersSettings, IProductSpecificationsViewService productSpecificationsViewService, IMyAccountUrlProvider myAccountUrlProvider) : base( viewModelMapper, productRepository, damProvider, localizationProvider, lookupService, productUrlProvider, scopeViewService, recurringOrdersRepository, recurringOrderProgramViewModelFactory, recurringOrdersSettings, productSpecificationsViewService, myAccountUrlProvider) { }
public RecurringOrderTemplateViewModelFactory( IOvertureClient overtureClient, ILocalizationProvider localizationProvider, IViewModelMapper viewModelMapper, ICountryService countryService, IComposerContext composerContext, IRecurringOrdersRepository recurringOrdersRepository, IAddressRepository addressRepository, IProductUrlProvider productUrlProvider, IProductPriceViewService productPriceViewService, IRecurringScheduleUrlProvider recurringScheduleUrlProvider, IRecurringOrderProgramViewModelFactory recurringOrderProgramViewModelFactory, IRecurringOrdersRepository recurringOrderRepository) { LocalizationProvider = localizationProvider ?? throw new ArgumentNullException(nameof(localizationProvider)); ViewModelMapper = viewModelMapper ?? throw new ArgumentNullException(nameof(viewModelMapper)); CountryService = countryService ?? throw new ArgumentNullException(nameof(countryService)); ComposerContext = composerContext; RecurringOrdersRepository = recurringOrdersRepository ?? throw new ArgumentNullException(nameof(recurringOrdersRepository)); AddressRepository = addressRepository ?? throw new ArgumentNullException(nameof(addressRepository)); ProductUrlProvider = productUrlProvider ?? throw new ArgumentNullException(nameof(productUrlProvider)); ProductPriceViewService = productPriceViewService ?? throw new ArgumentNullException(nameof(productPriceViewService)); OvertureClient = overtureClient ?? throw new ArgumentNullException(nameof(overtureClient)); RecurringScheduleUrlProvider = recurringScheduleUrlProvider ?? throw new ArgumentNullException(nameof(recurringScheduleUrlProvider)); RecurringOrderProgramViewModelFactory = recurringOrderProgramViewModelFactory ?? throw new ArgumentNullException(nameof(recurringOrderProgramViewModelFactory)); RecurringOrderRepository = recurringOrderRepository ?? throw new ArgumentNullException(nameof(recurringOrderRepository)); }
public OrderDetailsViewModelFactory( ILocalizationProvider localizationProvider, IViewModelMapper viewModelMapper, ICountryService countryService, IProductUrlProvider productUrlProvider, ICartViewModelFactory cartViewModelFactory, IPaymentProviderFactory paymentProviderFactory, IShippingTrackingProviderFactory shippingTrackingProviderFactory, ITaxViewModelFactory taxViewModelFactory, ILineItemViewModelFactory lineItemViewModelFactory, IRewardViewModelFactory rewardViewModelFactory, ICurrencyProvider currencyProvider) { LocalizationProvider = localizationProvider ?? throw new ArgumentNullException(nameof(localizationProvider)); ViewModelMapper = viewModelMapper ?? throw new ArgumentNullException(nameof(viewModelMapper)); CountryService = countryService ?? throw new ArgumentNullException(nameof(countryService)); ProductUrlProvider = productUrlProvider ?? throw new ArgumentNullException(nameof(productUrlProvider)); CartViewModelFactory = cartViewModelFactory ?? throw new ArgumentNullException(nameof(cartViewModelFactory)); PaymentProviderFactory = paymentProviderFactory ?? throw new ArgumentNullException(nameof(paymentProviderFactory)); ShippingTrackingProviderFactory = shippingTrackingProviderFactory ?? throw new ArgumentNullException(nameof(shippingTrackingProviderFactory)); TaxViewModelFactory = taxViewModelFactory ?? throw new ArgumentNullException(nameof(taxViewModelFactory)); LineItemViewModelFactory = lineItemViewModelFactory ?? throw new ArgumentNullException(nameof(lineItemViewModelFactory)); RewardViewModelFactory = rewardViewModelFactory ?? throw new ArgumentNullException(nameof(rewardViewModelFactory)); CurrencyProvider = currencyProvider ?? throw new ArgumentNullException(nameof(currencyProvider)); }
public CategoryBrowsingViewService( ISearchRepository searchRepository, IViewModelMapper viewModelMapper, IDamProvider damProvider, ILocalizationProvider localizationProvider, IProductUrlProvider productUrlProvider, ISearchUrlProvider searchUrlProvider, ICategoryRepository categoryRepository, ICategoryBrowsingUrlProvider categoryBrowsingUrlProvider, IFacetFactory facetFactory, ISelectedFacetFactory selectedFacetFactory, IPriceProvider priceProvider, IComposerContext composerContext, IProductSettingsViewService productSettings, IScopeViewService scopeViewService, IRecurringOrdersSettings recurringOrdersSettings) : base( searchRepository, viewModelMapper, damProvider, localizationProvider, productUrlProvider, searchUrlProvider, facetFactory, selectedFacetFactory, priceProvider, composerContext, productSettings, scopeViewService, recurringOrdersSettings) { CategoryRepository = categoryRepository ?? throw new ArgumentNullException(nameof(categoryRepository)); CategoryBrowsingUrlProvider = categoryBrowsingUrlProvider ?? throw new ArgumentNullException(nameof(categoryBrowsingUrlProvider)); }
protected BaseSearchViewService( ISearchRepository searchRepository, IViewModelMapper viewModelMapper, IDamProvider damProvider, ILocalizationProvider localizationProvider, IProductUrlProvider productUrlProvider, ISearchUrlProvider searchUrlProvider, IFacetFactory facetFactory, ISelectedFacetFactory selectedFacetFactory, IPriceProvider priceProvider, IComposerContext composerContext, IProductSettingsViewService productSettings, IScopeViewService scopeViewService, IRecurringOrdersSettings recurringOrdersSettings) { SearchRepository = searchRepository ?? throw new ArgumentNullException(nameof(searchRepository)); ViewModelMapper = viewModelMapper ?? throw new ArgumentNullException(nameof(viewModelMapper)); DamProvider = damProvider ?? throw new ArgumentNullException(nameof(damProvider)); LocalizationProvider = localizationProvider ?? throw new ArgumentNullException(nameof(localizationProvider)); ProductUrlProvider = productUrlProvider ?? throw new ArgumentNullException(nameof(productUrlProvider)); SearchUrlProvider = searchUrlProvider ?? throw new ArgumentNullException(nameof(searchUrlProvider)); SelectedFacetFactory = selectedFacetFactory ?? throw new ArgumentNullException(nameof(selectedFacetFactory)); FacetFactory = facetFactory ?? throw new ArgumentNullException(nameof(facetFactory)); PriceProvider = priceProvider ?? throw new ArgumentNullException(nameof(priceProvider)); ComposerContext = composerContext ?? throw new ArgumentNullException(nameof(composerContext)); ProductSettings = productSettings ?? throw new ArgumentNullException(nameof(productSettings)); ScopeViewService = scopeViewService ?? throw new ArgumentNullException(nameof(scopeViewService)); RecurringOrdersSettings = recurringOrdersSettings ?? throw new ArgumentNullException(nameof(recurringOrdersSettings)); }
public ProductViewModelFactoryProxy(IViewModelMapper viewModelMapper, IProductRepository productRepository, IDamProvider damProvider, ILocalizationProvider localizationProvider, ILookupService lookupService, IProductUrlProvider productUrlProvider, IScopeViewService scopeViewService, IRecurringOrdersRepository recurringOrdersRepository, IRecurringOrderProgramViewModelFactory recurringOrderProgramViewModelFactory, IRecurringOrdersSettings recurringOrdersSettings, IProductSpecificationsViewService productSpecificationsViewService) : base( viewModelMapper, productRepository, damProvider, localizationProvider, lookupService, productUrlProvider, scopeViewService, recurringOrdersRepository, recurringOrderProgramViewModelFactory, recurringOrdersSettings, productSpecificationsViewService) { }
public ProductViewModelFactory( IViewModelMapper viewModelMapper, IProductRepository productRepository, IDamProvider damProvider, ILocalizationProvider localizationProvider, ILookupService lookupService, IProductUrlProvider productUrlProvider, IScopeViewService scopeViewService, IRecurringOrdersRepository recurringOrdersRepository, IRecurringOrderProgramViewModelFactory recurringOrderProgramViewModelFactory, IRecurringOrdersSettings recurringOrdersSettings, IProductSpecificationsViewService productSpecificationsViewService, IMyAccountUrlProvider myAccountUrlProvider) { ViewModelMapper = viewModelMapper ?? throw new ArgumentNullException(nameof(viewModelMapper)); ProductRepository = productRepository ?? throw new ArgumentNullException(nameof(productRepository)); DamProvider = damProvider ?? throw new ArgumentNullException(nameof(damProvider)); LocalizationProvider = localizationProvider ?? throw new ArgumentNullException(nameof(localizationProvider)); LookupService = lookupService ?? throw new ArgumentNullException(nameof(lookupService)); ProductUrlProvider = productUrlProvider ?? throw new ArgumentNullException(nameof(productUrlProvider)); ScopeViewService = scopeViewService ?? throw new ArgumentNullException(nameof(scopeViewService)); RecurringOrdersRepository = recurringOrdersRepository ?? throw new ArgumentNullException(nameof(recurringOrdersRepository)); RecurringOrderProgramViewModelFactory = recurringOrderProgramViewModelFactory ?? throw new ArgumentNullException(nameof(recurringOrderProgramViewModelFactory)); RecurringOrdersSettings = recurringOrdersSettings; ProductSpecificationsViewService = productSpecificationsViewService ?? throw new ArgumentNullException(nameof(productSpecificationsViewService)); MyAccountUrlProvider = myAccountUrlProvider ?? throw new ArgumentNullException(nameof(myAccountUrlProvider)); }
public ProductSitemapEntryProvider(IOvertureClient overtureClient, IProductUrlProvider productUrlProvider, IProductUrlParamFactory productUrlParamFactory) { Guard.NotNull(overtureClient, nameof(overtureClient)); Guard.NotNull(productUrlProvider, nameof(productUrlProvider)); _overtureClient = overtureClient; _productUrlProvider = productUrlProvider; _productUrlParamFactory = productUrlParamFactory; }
public RelatedProductViewServiceProxy(IProductRepository productRepository, IRelationshipRepository relationshipRepository, IDamProvider damProvider, IProductUrlProvider productUrlProvider, IViewModelMapper viewModelMapper, ILocalizationProvider localizationProvider, IInventoryLocationProvider inventoryLocationProvider, IRecurringOrdersSettings recurringOrdersSettings) : base(productRepository, relationshipRepository, damProvider, productUrlProvider, viewModelMapper, localizationProvider, inventoryLocationProvider, recurringOrdersSettings) { }
public ProductViewService(IProductViewModelFactory productViewModelFactory, IProductUrlProvider productUrlProvider) { if (productViewModelFactory == null) { throw new ArgumentNullException("productViewModelFactory"); } if (productUrlProvider == null) { throw new ArgumentNullException("productUrlProvider"); } ProductViewModelFactory = productViewModelFactory; ProductUrlProvider = productUrlProvider; }
public SearchQueryViewService( ISearchRepository searchRepository, IViewModelMapper viewModelMapper, IDamProvider damProvider, ILocalizationProvider localizationProvider, IProductUrlProvider productUrlProvider, ISearchUrlProvider searchUrlProvider, IFacetFactory facetFactory, ISelectedFacetFactory selectedFacetFactory, IPriceProvider priceProvider, IComposerContext composerContext, IProductSettingsViewService productSettings, IScopeViewService scopeViewService, ISearchQueryRepository searchQueryRepository, ISearchQueryUrlProvider searchQueryUrlProvider, IProductSettingsRepository productSettingsRepository, Repositories.IInventoryRepository inventoryRepository, IRecurringOrdersSettings recurringOrdersSettings ) : base( searchRepository, viewModelMapper, damProvider, localizationProvider, productUrlProvider, searchUrlProvider, facetFactory, selectedFacetFactory, priceProvider, composerContext, productSettings, scopeViewService, recurringOrdersSettings) { if (searchQueryRepository == null) { throw new ArgumentNullException("searchQueryRepository"); } if (searchQueryUrlProvider == null) { throw new ArgumentNullException("searchQuerySearchRepository"); } SearchQueryRepository = searchQueryRepository; SearchQueryUrlProvider = searchQueryUrlProvider; ProductSettingsRepository = productSettingsRepository; InventoryRepository = inventoryRepository; }
public ProductSearchViewModelFactory( IViewModelMapper viewModelMapper, IProductUrlProvider productUrlProvider, IRecurringOrdersSettings recurringOrdersSettings, IComposerContext composerContext, IProductSettingsViewService productSettings, IPriceProvider priceProvider) { ViewModelMapper = viewModelMapper ?? throw new ArgumentNullException(nameof(viewModelMapper)); ProductUrlProvider = productUrlProvider ?? throw new ArgumentNullException(nameof(productUrlProvider)); RecurringOrdersSettings = recurringOrdersSettings ?? throw new ArgumentNullException(nameof(recurringOrdersSettings)); ComposerContext = composerContext ?? throw new ArgumentNullException(nameof(composerContext)); ProductSettings = productSettings ?? throw new ArgumentNullException(nameof(productSettings)); PriceProvider = priceProvider ?? throw new ArgumentNullException(nameof(priceProvider)); }
protected ProductBaseController( IComposerContext composerContext, ILanguageSwitchService languageSwitchService, IProductUrlProvider productUrlProvider, IRelatedProductViewService relatedProductViewService, Lazy <IPreviewModeService> previewModeService, IProductContext productContext) { ComposerContext = composerContext ?? throw new ArgumentNullException(nameof(composerContext)); LanguageSwitchService = languageSwitchService ?? throw new ArgumentNullException(nameof(languageSwitchService)); ProductUrlProvider = productUrlProvider ?? throw new ArgumentNullException(nameof(productUrlProvider)); RelatedProductViewService = relatedProductViewService ?? throw new ArgumentNullException(nameof(relatedProductViewService)); PreviewModeService = previewModeService ?? throw new ArgumentNullException(nameof(previewModeService)); ProductContext = productContext ?? throw new ArgumentNullException(nameof(productContext));; }
public ProductLanguageSwitchProvider(ILanguageSwitchService languageSwitchViewService, IComposerContext composerContext, IProductContext productContext, IProductUrlProvider productUrlProvider, IPageService pageService, HttpRequestBase request, ISiteConfiguration siteConfiguration) { PageService = pageService ?? throw new ArgumentNullException(nameof(pageService)); ComposerContext = composerContext ?? throw new ArgumentNullException(nameof(composerContext)); LanguageSwitchService = languageSwitchViewService ?? throw new ArgumentNullException(nameof(languageSwitchViewService)); ProductContext = productContext ?? throw new ArgumentNullException(nameof(productContext)); ProductUrlProvider = productUrlProvider ?? throw new ArgumentNullException(nameof(productUrlProvider)); Request = request ?? throw new ArgumentNullException(nameof(request)); SiteConfiguration = siteConfiguration ?? throw new ArgumentNullException(nameof(siteConfiguration)); }
public ProductController( IComposerContext composerContext, ILanguageSwitchService languageSwitchService, IProductUrlProvider productUrlProvider, IRelatedProductViewService relatedProductViewService, Lazy <IPreviewModeService> previewModeService, IProductContext productContext) : base( composerContext, languageSwitchService, productUrlProvider, relatedProductViewService, previewModeService, productContext) { }
protected BaseProductViewService( IProductRepository productRepository, IDamProvider damProvider, IProductUrlProvider productUrlProvider, IViewModelMapper viewModelMapper, ILocalizationProvider localizationProvider, IRelationshipRepository relationshipRepository, IInventoryLocationProvider inventoryLocationProvider, IRecurringOrdersSettings recurringOrdersSettings) { ProductRepository = productRepository ?? throw new ArgumentNullException(nameof(productRepository)); ViewModelMapper = viewModelMapper ?? throw new ArgumentNullException(nameof(viewModelMapper)); DamProvider = damProvider ?? throw new ArgumentNullException(nameof(damProvider)); LocalizationProvider = localizationProvider ?? throw new ArgumentNullException(nameof(localizationProvider)); ProductUrlProvider = productUrlProvider ?? throw new ArgumentNullException(nameof(productUrlProvider)); RelationshipRepository = relationshipRepository ?? throw new ArgumentNullException(nameof(relationshipRepository)); InventoryLocationProvider = inventoryLocationProvider ?? throw new ArgumentNullException(nameof(inventoryLocationProvider)); RecurringOrdersSettings = recurringOrdersSettings ?? throw new ArgumentNullException(nameof(recurringOrdersSettings)); }
public LineItemViewModelFactory(IViewModelMapper viewModelMapper, ILocalizationProvider localizationProvider, IProductUrlProvider productUrlProvider, IRewardViewModelFactory rewardViewModelFactory, ILineItemValidationProvider lineItemValidationProvider, IRecurringOrdersRepository recurringOrderRepository, IComposerContext composerContext, IRecurringOrderProgramViewModelFactory recurringOrderProgramViewModelFactory, IRecurringOrdersSettings recurringOrdersSettings) { ViewModelMapper = viewModelMapper ?? throw new ArgumentNullException(nameof(viewModelMapper)); LocalizationProvider = localizationProvider ?? throw new ArgumentNullException(nameof(localizationProvider)); ProductUrlProvider = productUrlProvider ?? throw new ArgumentNullException(nameof(productUrlProvider)); RewardViewModelFactory = rewardViewModelFactory ?? throw new ArgumentNullException(nameof(rewardViewModelFactory)); LineItemValidationProvider = lineItemValidationProvider ?? throw new ArgumentNullException(nameof(lineItemValidationProvider)); RecurringOrderRepository = recurringOrderRepository ?? throw new ArgumentNullException(nameof(recurringOrderRepository)); ComposerContext = composerContext ?? throw new ArgumentNullException(nameof(composerContext)); RecurringOrderProgramViewModelFactory = recurringOrderProgramViewModelFactory ?? throw new ArgumentNullException(nameof(recurringOrderProgramViewModelFactory)); RecurringOrdersSettings = recurringOrdersSettings ?? throw new ArgumentNullException(nameof(recurringOrdersSettings)); }
public CategoryBrowsingViewService2(ISearchRepository searchRepository, IViewModelMapper viewModelMapper, IDamProvider damProvider, ILocalizationProvider localizationProvider, IProductUrlProvider productUrlProvider, ISearchUrlProvider searchUrlProvider, IComposerContext context, ICategoryRepository categoryRepository, ICategoryBrowsingUrlProvider categoryBrowsingUrlProvider) : base(searchRepository, viewModelMapper, damProvider, localizationProvider, productUrlProvider, searchUrlProvider) { if (context == null) { throw new ArgumentNullException("context"); } if (categoryRepository == null) { throw new ArgumentNullException("categoryRepository"); } _context = context; _categoryRepository = categoryRepository; _categoryBrowsingUrlProvider = categoryBrowsingUrlProvider; }
public OrderDetailsViewModelFactory( ILocalizationProvider localizationProvider, IViewModelMapper viewModelMapper, ICountryService countryService, IProductUrlProvider productUrlProvider, ICartViewModelFactory cartViewModelFactory, IPaymentProviderFactory paymentProviderFactory, IShippingTrackingProviderFactory shippingTrackingProviderFactory, ITaxViewModelFactory taxViewModelFactory, ILineItemViewModelFactory lineItemViewModelFactory, IRewardViewModelFactory rewardViewModelFactory) { if (localizationProvider == null) { throw new ArgumentNullException("localizationProvider"); } if (viewModelMapper == null) { throw new ArgumentNullException("viewModelMapper"); } if (productUrlProvider == null) { throw new ArgumentNullException("productUrlProvider"); } if (cartViewModelFactory == null) { throw new ArgumentNullException("cartViewModelFactory"); } if (countryService == null) { throw new ArgumentNullException("countryService"); } if (paymentProviderFactory == null) { throw new ArgumentNullException("paymentProviderFactory"); } if (shippingTrackingProviderFactory == null) { throw new ArgumentNullException("shippingTrackingProviderFactory"); } if (taxViewModelFactory == null) { throw new ArgumentNullException("taxViewModelFactory"); } if (lineItemViewModelFactory == null) { throw new ArgumentNullException("lineItemViewModelFactory"); } if (rewardViewModelFactory == null) { throw new ArgumentNullException("rewardViewModelFactory"); } LocalizationProvider = localizationProvider; ViewModelMapper = viewModelMapper; CountryService = countryService; ProductUrlProvider = productUrlProvider; CartViewModelFactory = cartViewModelFactory; PaymentProviderFactory = paymentProviderFactory; ShippingTrackingProviderFactory = shippingTrackingProviderFactory; TaxViewModelFactory = taxViewModelFactory; LineItemViewModelFactory = lineItemViewModelFactory; RewardViewModelFactory = rewardViewModelFactory; }
public ProductSitemapEntryProvider(IOvertureClient overtureClient, IProductUrlProvider productUrlProvider, IProductUrlParamFactory productUrlParamFactory) { _overtureClient = overtureClient ?? throw new ArgumentNullException(nameof(overtureClient)); _productUrlProvider = productUrlProvider ?? throw new ArgumentNullException(nameof(productUrlProvider)); _productUrlParamFactory = productUrlParamFactory; }
public ProductViewService(IProductViewModelFactory productViewModelFactory, IProductUrlProvider productUrlProvider) { ProductViewModelFactory = productViewModelFactory ?? throw new ArgumentNullException(nameof(productViewModelFactory)); ProductUrlProvider = productUrlProvider ?? throw new ArgumentNullException(nameof(productUrlProvider)); }
public ProductDataTableBackend(IProductRepository productRepository, IProductUrlProvider productUrlProvider) { ProductRepository = productRepository; ProductUrlProvider = productUrlProvider; }