public SendAction( IProductService productService, IXmlProductService xmlProductService, IQPNotificationService notificationService) { _productService = productService; _xmlProductService = xmlProductService; _notificationService = notificationService; }
public XmlProductServiceProfiler(IXmlProductService xmlProductService) { if (xmlProductService == null) { throw new ArgumentNullException("xmlProductService"); } _xmlProductService = xmlProductService; Service = _xmlProductService.GetType().Name; }
public XmlProductFormatter( IXmlProductService xmlProductService, IContentDefinitionService contentDefinitionService, ISettingsService settingsService, IProductContentResolver productContentResolver, IHttpContextAccessor httpContextAccessor, IActionContextAccessor actionContextAccessor ) { _xmlProductService = xmlProductService; _contentDefinitionService = contentDefinitionService; _settingsService = settingsService; _productContentResolver = productContentResolver; _httpContext = httpContextAccessor?.HttpContext; _actionContext = actionContextAccessor?.ActionContext; }
public PublishAction( IArticleService articleService, IFieldService fieldService, IProductService productservice, Func <ITransaction> createTransaction, IQPNotificationService notificationService, IXmlProductService xmlProductService, IFreezeService freezeService, IValidationService validationService ) : base(articleService, fieldService, productservice, createTransaction) { NotificationService = notificationService; XmlProductService = xmlProductService; FreezeService = freezeService; ValidationService = validationService; ValidationErrors = new ConcurrentDictionary <int, string>(); ProductIds = new List <int>(); }