public RoutingSlipEventPublisher(CourierContext context, RoutingSlip routingSlip)
 {
     _sendEndpointProvider = context;
     _publishEndpoint      = context;
     _routingSlip          = routingSlip;
     _host    = context.Host;
     _context = context;
 }
示例#2
0
 public UserService(CourierContext context)
 {
     Context = context;
 }
示例#3
0
 public CourierService(CourierContext dbcontext, IAsyncRepository <Courier.web.Models.Courier> courierRunRepository)
 {
     _courierRepository = courierRunRepository;
     _dbcontext         = dbcontext;
 }
示例#4
0
 public DeliveryRepository(IOptions <CourierSettings> settings)
 {
     _courierContext = new CourierContext(settings);
 }
示例#5
0
 public ClientRepository(IOptions <CourierSettings> settings)
 {
     _courierContext = new CourierContext(settings);
 }
示例#6
0
 public EfRepository(CourierContext dbContext)
 {
     _dbcontext = dbContext;
 }
 public CourierRunDetailsAPIController(CourierContext context, ICourierRunDetailService courierRunDetailService)
 {
     _context = context;
     _courierRunDetailService = courierRunDetailService;
 }
示例#8
0
 protected CourierContextScope(CourierContext courierContext, params object[] payloads)
     : base(courierContext, payloads)
 {
     _courierContext = courierContext;
 }
 public CourierRunService(CourierContext dbcontext, IAsyncRepository <CourierRuns> courierRunRepository)
 {
     _courierRunRepository = courierRunRepository;
     _dbcontext            = dbcontext;
 }
 protected CourierContextProxy(CourierContext courierContext)
     : base(courierContext)
 {
     _courierContext = courierContext;
 }
示例#11
0
 protected CourierContextScope(CourierContext courierContext)
     : base(courierContext)
 {
     _courierContext = courierContext;
 }
 protected TimeoutCourierContextProxy(CourierContext courierContext, CancellationToken cancellationToken)
     : base(courierContext, cancellationToken)
 {
     _courierContext = courierContext;
 }
 public CouriersAPIController(CourierContext context, ICourierService courierService)
 {
     _context        = context;
     _courierService = courierService;
 }
 protected InMemoryOutboxCourierContextProxy(CourierContext courierContext)
     : base(courierContext)
 {
     _courierContext = courierContext;
 }
示例#15
0
 public CourierRunDetailService(CourierContext dbcontext, IAsyncRepository <CourierRunDetail> courierRunDetailRepository)
 {
     _courierRunDetailRepository = courierRunDetailRepository;
     _dbcontext = dbcontext;
 }