public OrderDataFactory(IKenticoResourceService resources, IKenticoDocumentProvider documents, IKenticoLocalizationProvider kenticoLocalization, IKadenaSettings settings) { if (resources == null) { throw new ArgumentNullException(nameof(resources)); } if (documents == null) { throw new ArgumentNullException(nameof(documents)); } if (kenticoLocalization == null) { throw new ArgumentNullException(nameof(kenticoLocalization)); } if (settings == null) { throw new ArgumentNullException(nameof(settings)); } this.resources = resources; this.documents = documents; this.kenticoLocalization = kenticoLocalization; this.settings = settings; }
public SiteDataService(IKenticoSiteProvider site, IKadenaSettings settings) { if (site == null) { throw new ArgumentNullException(nameof(site)); } if (settings == null) { throw new ArgumentNullException(nameof(settings)); } _site = site; _settings = settings; }
public KenticoSiteProvider(IMapper mapper, IKadenaSettings kadenaSettings) { if (mapper == null) { throw new ArgumentNullException(nameof(mapper)); } if (kadenaSettings == null) { throw new ArgumentNullException(nameof(kadenaSettings)); } this.mapper = mapper; this.kadenaSettings = kadenaSettings; }
public GetOrderDataService(IMapper mapper, IKenticoOrderProvider kenticoOrder, IShoppingCartProvider shoppingCart, IKenticoUserProvider kenticoUsers, IKenticoLogger kenticoLog, ITaxEstimationService taxService, ITemplatedClient templateService, IKenticoLocalizationProvider localization, IKenticoSiteProvider site, IKadenaSettings settings, IOrderDataFactory orderDataFactory ) { if (mapper == null) { throw new ArgumentNullException(nameof(mapper)); } if (kenticoOrder == null) { throw new ArgumentNullException(nameof(kenticoOrder)); } if (shoppingCart == null) { throw new ArgumentNullException(nameof(shoppingCart)); } if (kenticoUsers == null) { throw new ArgumentNullException(nameof(kenticoUsers)); } if (kenticoLog == null) { throw new ArgumentNullException(nameof(kenticoLog)); } if (taxService == null) { throw new ArgumentNullException(nameof(taxService)); } if (templateService == null) { throw new ArgumentNullException(nameof(templateService)); } if (localization == null) { throw new ArgumentNullException(nameof(localization)); } if (site == null) { throw new ArgumentNullException(nameof(site)); } if (settings == null) { throw new ArgumentNullException(nameof(settings)); } if (orderDataFactory == null) { throw new ArgumentNullException(nameof(orderDataFactory)); } this.mapper = mapper; this.kenticoOrder = kenticoOrder; this.shoppingCart = shoppingCart; this.kenticoUsers = kenticoUsers; this.kenticoLog = kenticoLog; this.taxService = taxService; this.templateService = templateService; this.localization = localization; this.siteProvider = site; this.settings = settings; this.orderDataFactory = orderDataFactory; }
public KenticoLoginProvider(IKenticoLogger logger, IKadenaSettings kadenaSettings) { this.logger = logger; this.kadenaSettings = kadenaSettings; }