public NotificationImportService(INotificationMapper notificationMapper,
                                         INotificationRepository notificationRepository,
                                         INotificationImportRepository notificationImportRepository,
                                         IImportLogger logger,
                                         IHub sentryHub,
                                         IMigratedNotificationsMarker migratedNotificationsMarker,
                                         ISpecimenImportService specimenImportService,
                                         IImportValidator importValidator,
                                         IClusterImportService clusterImportService,
                                         ICultureAndResistanceService cultureAndResistanceService,
                                         IDrugResistanceProfileService drugResistanceProfileService,
                                         ICaseManagerImportService caseManagerImportService)
        {
            sentryHub.ConfigureScope(s =>
            {
                s.SetTag("context", "migration");
            });

            _notificationMapper           = notificationMapper;
            _notificationRepository       = notificationRepository;
            _notificationImportRepository = notificationImportRepository;
            _logger = logger;
            _migratedNotificationsMarker  = migratedNotificationsMarker;
            _specimenImportService        = specimenImportService;
            _importValidator              = importValidator;
            _clusterImportService         = clusterImportService;
            _cultureAndResistanceService  = cultureAndResistanceService;
            _drugResistanceProfileService = drugResistanceProfileService;
            _caseManagerImportService     = caseManagerImportService;
        }
Example #2
0
 public NotificationService(IRepositoryFactory repositoryFactory,
                            INotificationMapper notificationMapper,
                            IReminderMapper reminderMapper,
                            IUserSessionService userService)
 {
     this.repositoryFactory  = repositoryFactory;
     this.notificationMapper = notificationMapper;
     this.reminderMapper     = reminderMapper;
     this.userService        = userService;
 }
 public CommsDeliveryService(
     ILogger logger,
     IValidator<DataContracts.Notification> notificationValidator,
     INotificationMapper notificationMapper,
     DomainObjects.ICommsDeliveryManager commsDeliveryManager)
 {
     _logger = logger;
     _notificationValidator = notificationValidator;
     _notificationMapper = notificationMapper;
     _commsDeliveryManager = commsDeliveryManager;
 }
 public CommsDeliveryManager(
     ILogger logger,
     INotificationMapper notificationMapper,
     IUnitOfWork unitOfWork,
     INotificationRepository notificationRepository,
     INotificationRequestConsumer notificationRequestConsumer)
 {
     _logger = logger;
     _notificationMapper = notificationMapper;
     _unitOfWork = unitOfWork;
     _notificationRepository = notificationRepository;
     _notificationRequestConsumer = notificationRequestConsumer;
 }
        public NotificationImportService(INotificationMapper notificationMapper,
                                         INotificationRepository notificationRepository,
                                         INotificationImportRepository notificationImportRepository,
                                         IImportLogger logger,
                                         IHub sentryHub,
                                         IMigrationRepository migrationRepository,
                                         IMigratedNotificationsMarker migratedNotificationsMarker,
                                         ISpecimenService specimenService,
                                         IImportValidator importValidator)
        {
            sentryHub.ConfigureScope(s =>
            {
                s.SetTag("context", "migration");
            });

            _notificationMapper           = notificationMapper;
            _notificationRepository       = notificationRepository;
            _notificationImportRepository = notificationImportRepository;
            _logger = logger;
            _migrationRepository         = migrationRepository;
            _migratedNotificationsMarker = migratedNotificationsMarker;
            _specimenService             = specimenService;
            _importValidator             = importValidator;
        }
 public ProductMapper(IBidMapper bidMapper, INotificationMapper productUpdateMapper)
 {
     this.bidMapper          = bidMapper;
     this.notificationMapper = productUpdateMapper;
 }
Example #7
0
 public NotificationService(INotificationRepository notificationsRepository, INotificationMapper notificationsMapper)
 {
     this.notificationsRepository = notificationsRepository;
     this.notificationsMapper     = notificationsMapper;
 }