Пример #1
0
 public SendAction(
     IProductService productService,
     IXmlProductService xmlProductService,
     IQPNotificationService notificationService)
 {
     _productService      = productService;
     _xmlProductService   = xmlProductService;
     _notificationService = notificationService;
 }
Пример #2
0
        public QPNotificationServiceProfiler(IQPNotificationService notificationService)
        {
            if (notificationService == null)
            {
                throw new ArgumentNullException("notificationService");
            }

            _notificationService = notificationService;
            Service = _notificationService.GetType().Name;
        }
Пример #3
0
 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>();
 }
Пример #4
0
 public DeleteAction(IArticleService articleService, IFieldService fieldService, IProductService productService, Func <ITransaction> createTransaction, IQPNotificationService notificationService)
     : base(articleService, fieldService, productService, createTransaction)
 {
     NotificationService = notificationService;
 }
Пример #5
0
 protected ArchiveProductActionBase(IArticleService articleService, IFieldService fieldService, IProductService productService, Func <ITransaction> createTransaction, IQPNotificationService notificationService)
     : base(articleService, fieldService, productService, createTransaction)
 {
     NotificationService = notificationService;
 }
Пример #6
0
 public RestoreAction(IArticleService articleService, IFieldService fieldService, IProductService productservice, Func <ITransaction> createTransaction, IQPNotificationService notificationService)
     : base(articleService, fieldService, productservice, createTransaction, notificationService)
 {
 }
Пример #7
0
 public AutopublishProcessor(IQPNotificationService notificationService, IProductSimpleAPIService productService, ILogger logger)
 {
     _notificationService = notificationService;
     _productService      = productService;
     _logger = logger;
 }