Ejemplo n.º 1
0
 /// <summary> Initialize the private fields </summary>
 public TransactionManager(IEventBus eventBus,
                           ILogger <TransactionManager> logger,
                           IOptions <Configuration> options,
                           IMapper mapper,
                           IConfiguration configuration,
                           ITransactionQueueRepository transactionQueueRepository,
                           ITransactionQueueHistoryRepository transactionQueueHistoryRepository,
                           IFacilityManager facilityManager,
                           ITransactionPriorityManager transactionPriorityManager,
                           IFormularyManager formularyManager,
                           IAduTransactionManager aduTransactionManager,
                           IDestinationManager destinationManager)
 {
     _configuration                     = options.Value;
     _mapper                            = mapper;
     _eventBus                          = eventBus;
     _logger                            = logger;
     this.configuration                 = configuration;
     _transactionQueueRepository        = transactionQueueRepository;
     _transactionQueueHistoryRepository = transactionQueueHistoryRepository;
     _facilityManager                   = facilityManager;
     _transactionPriorityManager        = transactionPriorityManager;
     _formularyManager                  = formularyManager;
     _aduTransactionManager             = aduTransactionManager;
     _destinationManager                = destinationManager;
 }
 /// <summary>
 /// Initializes an instances - ITransactionPriorityManager and logger
 /// </summary>
 /// <param name="transactionPriorityManager"></param>
 /// <param name="logger"></param>
 /// <param name="mapper"></param>
 public TransactionPriorityIntegrationEventHandler(ITransactionPriorityManager transactionPriorityManager,
                                                   ILogger <TransactionPriorityIntegrationEventHandler> logger,
                                                   IMapper mapper)
 {
     _transactionPriorityManager = transactionPriorityManager;
     _logger = logger;
     _mapper = mapper;
 }
Ejemplo n.º 3
0
 /// <summary> Initialize the private fields </summary>
 public AduTransactionManager(ITransactionQueueRepository transactionQueueRepository,
                              ILogger <AduTransactionManager> logger,
                              IMapper mapper,
                              ITransactionPriorityManager transactionPriorityManager,
                              ILastAduXrefRepository lastAduXrefRepository)
 {
     _logger = logger;
     _mapper = mapper;
     _transactionQueueRepository = transactionQueueRepository;
     _transactionPriorityManager = transactionPriorityManager;
     _lastAduXrefRepository      = lastAduXrefRepository;
 }
Ejemplo n.º 4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="routingRulesRepository"></param>
 public TransactionPriorityController(ILogger <TransactionPriorityController> logger, ITransactionPriorityManager manager, IValidator <TransactionPriorityPost> entityValidator)
 {
     _logger          = logger;
     _manager         = manager;
     _entityValidator = entityValidator;
 }
 /// <summary>
 /// Initializes instances - ITransactionPriorityManager and logger
 /// </summary>
 /// <param name="logger"></param>
 /// <param name="manager"></param>
 public TransactionPriorityAddedIntegrationEventHandler(ILogger <TransactionPriorityAddedIntegrationEventHandler> logger, ITransactionPriorityManager manager)
 {
     _logger  = logger;
     _manager = manager;
 }