示例#1
0
 public SubscribeEventHandler(IMediator mediator, ITransportTaskRepository taskRepository, IMapper mapper, IPublisher publisher, SettlementContext context)
 {
     _mediator       = mediator;
     _taskRepository = taskRepository;
     _mapper         = mapper;
     _publisher      = publisher;
     _context        = context;
 }
示例#2
0
 public SettlementPriceMessageEventHanlder(IMediator mediator, ITransportTaskRepository taskRepository)
 {
     _mediator       = mediator;
     _taskRepository = taskRepository;
 }
示例#3
0
 public CreateTransportTaskCommandHandler(IMapper mapper, ITransportTaskRepository taskRepository)
 {
     _mapper         = mapper;
     _taskRepository = taskRepository;
 }