コード例 #1
0
 public PackingListsController(
     IVehicleService vehicleService,
     IPackingListService packingListService,
     IPackageService packageService)
 {
     _vehicleService     = vehicleService;
     _packingListService = packingListService;
 }
コード例 #2
0
 public WorkingCouriersService(
     IPackageService packageService,
     INotificationService notificationService,
     IPackingListService packingListService,
     IVehicleService vehicleService)
 {
     _packageService       = packageService;
     _notificationsService = notificationService;
     _packingListService   = packingListService;
     _vehicleService       = vehicleService;
 }
コード例 #3
0
 public MenuOptions(
     IIoHelper ioHelper,
     IConnectionService connectionService,
     IPackingListService packingListService,
     ITimeCalculator timeCalculator,
     IPackagesService packagesService)
 {
     _ioHelper           = ioHelper;
     _connectionService  = connectionService;
     _packingListService = packingListService;
     _timeCalculator     = timeCalculator;
     _packagesService    = packagesService;
 }
コード例 #4
0
 public TimersHandler(
     IPackingListService packingListService,
     IWorkingCouriersService workingCouriersService,
     ITimeCalculator timeCalculator,
     IVehicleService vehicleService,
     IShippingPlannerService shippingPlannerService)
 {
     _packingListService     = packingListService;
     _workingCouriersService = workingCouriersService;
     _timeCalculator         = timeCalculator;
     _vehicleService         = vehicleService;
     _shippingPlannerService = shippingPlannerService;
     ;
 }
コード例 #5
0
ファイル: ReceivingService.cs プロジェクト: SD-Team/WH_Bottom
 public ReceivingService(IMaterialPurchaseRepository repoPurchase,
                         IMaterialMissingRepository repoMissing,
                         IMaterialViewRepository repoMaterialView,
                         IPackingListRepository repoPackingList,
                         IPackingListDetailRepository repoPackingListDetail,
                         IPackingListService packingListService,
                         IPackingListDetailService packingListDetailService,
                         IMapper mapper,
                         MapperConfiguration configMapper)
 {
     _repoMissing              = repoMissing;
     _repoPurchase             = repoPurchase;
     _repoMaterialView         = repoMaterialView;
     _repoPackingList          = repoPackingList;
     _repoPackingListDetail    = repoPackingListDetail;
     _packingListService       = packingListService;
     _packingListDetailService = packingListDetailService;
     _configMapper             = configMapper;
     _mapper = mapper;
 }
コード例 #6
0
 public ConsignmentShipfileService(
     IEmailService emailService,
     ITemplateEngine templateEngine,
     IPdfService pdfService,
     IRepository <ConsignmentShipfile, int> shipfileRepository,
     IQueryRepository <SalesOrder> salesOrderRepository,
     IConsignmentShipfileDataService dataService,
     IQueryRepository <SalesOutlet> outletRepository,
     IRepository <Consignment, int> consignmentRepository,
     IPackingListService packingListService)
 {
     this.emailService          = emailService;
     this.pdfService            = pdfService;
     this.templateEngine        = templateEngine;
     this.shipfileRepository    = shipfileRepository;
     this.salesOrderRepository  = salesOrderRepository;
     this.outletRepository      = outletRepository;
     this.dataService           = dataService;
     this.consignmentRepository = consignmentRepository;
     this.packingListService    = packingListService;
 }
コード例 #7
0
 public Program(
     IMenu loggingMenu,
     IMenu courierMenu,
     IIoHelper ioHelper,
     IMenuOptions menuOptions,
     ITimeCalculator timeCalculator,
     IConnectionService connectionService,
     IPackingListService packingListService,
     IVehicleService vehicleService,
     IRoutePlannerService routePlannerService)
 {
     _loggingMenu         = loggingMenu;
     _courierMenu         = courierMenu;
     _ioHelper            = ioHelper;
     _menuOptions         = menuOptions;
     _timeCalculator      = timeCalculator;
     _connectionService   = connectionService;
     _packingListService  = packingListService;
     _vehicleService      = vehicleService;
     _routePlannerService = routePlannerService;
 }
コード例 #8
0
ファイル: Program.cs プロジェクト: PawelSzatkowski/UPSik
        public Program(
            IMenu mainMenu,
            IIoHelper ioHelper,
            IUserService userService,
            IDatabaseManagementService databaseManagementService,
            IPackageService packageService,
            IVehicleService vehicleService,
            ITimersHandler timeHandler,
            ITimeCalculator timeCalculator,

            IPackingListService packingListService)
        {
            _mainMenu    = mainMenu;
            _ioHelper    = ioHelper;
            _userService = userService;
            _databaseManagementService = databaseManagementService;
            _packageService            = packageService;
            _vehicleService            = vehicleService;
            _timersHandler             = timeHandler;
            _timeCalculator            = timeCalculator;

            _packingListService = packingListService;
        }
コード例 #9
0
ファイル: ContextBase.cs プロジェクト: linn/stores
        public void SetUpContext()
        {
            this.PdfService            = Substitute.For <IPdfService>();
            this.ShipfileRepository    = Substitute.For <IRepository <ConsignmentShipfile, int> >();
            this.SalesOrderRepository  = Substitute.For <IQueryRepository <SalesOrder> >();
            this.DataService           = Substitute.For <IConsignmentShipfileDataService>();
            this.EmailService          = Substitute.For <IEmailService>();
            this.OutletRepository      = Substitute.For <IQueryRepository <SalesOutlet> >();
            this.ConsignmentRepository = Substitute.For <IRepository <Consignment, int> >();
            this.TemplateEngine        = Substitute.For <ITemplateEngine>();
            this.PackingListService    = Substitute.For <IPackingListService>();

            this.Sut = new ConsignmentShipfileService(
                this.EmailService,
                this.TemplateEngine,
                this.PdfService,
                this.ShipfileRepository,
                this.SalesOrderRepository,
                this.DataService,
                this.OutletRepository,
                this.ConsignmentRepository,
                this.PackingListService);
        }
コード例 #10
0
 public PackingListInfosController(IPackingListService packingListService)
 {
     _packingListService = packingListService;
 }
コード例 #11
0
 public PackingListController(IPackingListService service)
 {
     _service = service;
 }
コード例 #12
0
ファイル: ContextBase.cs プロジェクト: linn/stores
 public void SetUpContext()
 {
     this.Sut = new PackingListService();
 }