예제 #1
0
        private readonly IPublisher _publisher;      //tod

        public PayableController(IOptionsSnapshot <AppSettings> settings, IMediator mediator, SettlementContext context, IPublisher publisher)
        {
            _settings  = settings;
            _mediator  = mediator;
            _context   = context;
            _publisher = publisher;
        }
예제 #2
0
 public SubscribeEventHandler(IMediator mediator, ITransportTaskRepository taskRepository, IMapper mapper, IPublisher publisher, SettlementContext context)
 {
     _mediator       = mediator;
     _taskRepository = taskRepository;
     _mapper         = mapper;
     _publisher      = publisher;
     _context        = context;
 }
예제 #3
0
 public PayableRepository(IOptionsSnapshot <AppSettings> settings, SettlementContext context, IPublisher publisher, IMediator mediator, ICodeService codeService)
 {
     _context     = context ?? throw new ArgumentNullException(nameof(context));
     _settings    = settings;
     _publisher   = publisher;
     _mediator    = mediator;
     _codeService = codeService;
 }
예제 #4
0
 public RequestManager(SettlementContext context)
 {
     _context = context ?? throw new ArgumentNullException(nameof(context));
 }
예제 #5
0
 public FinishSettlementEventHandler(IPublisher publisher, IMapper mapper, SettlementContext context)
 {
     _publisher = publisher;
     _mapper    = mapper;
     _context   = context;
 }
예제 #6
0
 public TestController(IFluentQuery fluentQuery, IPublisher publisher, SettlementContext context)
 {
     _fluentQuery = fluentQuery;
     _publisher   = publisher;
     _context     = context;
 }
예제 #7
0
 public TransportTaskRepository(SettlementContext context, IOptionsSnapshot <AppSettings> settings)
 {
     _context  = context;
     _settings = settings;
 }