public WishListController( IWishListViewService wishListViewService, IComposerContext composerContext) { WishListViewService = wishListViewService ?? throw new ArgumentNullException(nameof(wishListViewService)); ComposerContext = composerContext ?? throw new ArgumentNullException(nameof(composerContext)); }
public WishListController(IComposerContext composerContext, ICustomerViewService customerViewService, IBreadcrumbViewService breadcrumbViewService, ILocalizationProvider localizationProvider, IWishListUrlProvider wishListUrlProvider, IWishListViewService wishListViewService, IWebsiteContext websiteContext) : base(composerContext, customerViewService, breadcrumbViewService, localizationProvider, wishListUrlProvider, wishListViewService, websiteContext) { }
public WishListController( IWishListViewService wishListViewService, IComposerContext composerContext) { if (wishListViewService == null) { throw new ArgumentNullException("wishListViewService"); } if (composerContext == null) { throw new ArgumentNullException("composerContext"); } WishListViewService = wishListViewService; ComposerContext = composerContext; }
protected WishListBaseController( IComposerContext composerContext, ICustomerViewService customerViewService, IBreadcrumbViewService breadcrumbViewService, ILocalizationProvider localizationProvider, IWishListUrlProvider wishListUrlProvider, IWishListViewService wishListViewService, IWebsiteContext websiteContext ) { ComposerContext = composerContext ?? throw new ArgumentNullException(nameof(composerContext)); CustomerViewService = customerViewService ?? throw new ArgumentNullException(nameof(customerViewService)); BreadcrumbViewService = breadcrumbViewService ?? throw new ArgumentNullException(nameof(breadcrumbViewService)); LocalizationProvider = localizationProvider ?? throw new ArgumentNullException(nameof(localizationProvider)); WishListUrlProvider = wishListUrlProvider ?? throw new ArgumentNullException(nameof(wishListUrlProvider)); WishLisViewService = wishListViewService ?? throw new ArgumentNullException(nameof(wishListViewService)); }
public MyAccountController( ICustomerViewService customerViewService, ICustomerAddressViewService customerAddressViewService, IComposerContext composerContext, IAddressRepository addressRepository, IMyAccountUrlProvider myAccountUrlProvider, IOrderHistoryViewService orderHistoryViewService, IWishListViewService wishListViewService, IRecurringOrderTemplatesViewService recurringOrderTemplatesViewService, IRecurringOrdersSettings recurringOrdersSettings) : base( customerViewService, customerAddressViewService, composerContext, addressRepository, myAccountUrlProvider, orderHistoryViewService, wishListViewService, recurringOrderTemplatesViewService, recurringOrdersSettings) { }
protected MyAccountBaseController( ICustomerViewService customerViewService, ICustomerAddressViewService customerAddressViewService, IComposerContext composerContext, IAddressRepository addressRepository, IMyAccountUrlProvider myAccountUrlProvider, IOrderHistoryViewService orderHistoryViewService, IWishListViewService wishListViewService, IRecurringOrderTemplatesViewService recurringOrderTemplatesViewService, IRecurringOrdersSettings recurringOrdersSettings) { CustomerViewService = customerViewService ?? throw new ArgumentNullException(nameof(customerViewService)); CustomerAddressViewService = customerAddressViewService ?? throw new ArgumentNullException(nameof(customerAddressViewService)); ComposerContext = composerContext ?? throw new ArgumentNullException(nameof(composerContext)); AddressRepository = addressRepository ?? throw new ArgumentNullException(nameof(addressRepository)); MyAccountUrlProvider = myAccountUrlProvider ?? throw new ArgumentNullException(nameof(myAccountUrlProvider)); OrderHistoryViewService = orderHistoryViewService ?? throw new ArgumentNullException(nameof(orderHistoryViewService)); WishListViewService = wishListViewService ?? throw new ArgumentNullException(nameof(wishListViewService)); RecurringOrderTemplatesViewService = recurringOrderTemplatesViewService ?? throw new ArgumentNullException(nameof(recurringOrderTemplatesViewService)); RecurringOrdersSettings = recurringOrdersSettings ?? throw new ArgumentNullException(nameof(recurringOrdersSettings)); }