コード例 #1
0
 public Worker(ILogger <Worker> logger, IConfiguration configuration, IServiceProvider sp, IProductionRepo IProdRepo, ILineItemRepo ILineItemRepo)
 {
     _logger        = logger;
     _configuration = configuration;
     _sp            = sp;
     _IProdRepo     = IProdRepo;
     _ILineItemRepo = ILineItemRepo;
 }
コード例 #2
0
 public CheckoutMenu(Customer customer, lacrosseContext context, ICustomerRepo customerRepo, ILocationRepo locationRepo, IInventoryRepo inventoryRepo, IProductRepo productRepo, ICartRepo cartRepo, ICartItemsRepo cartItemsRepo, IOrderRepo orderRepo, ILineItemRepo lineItemRepo)
 {
     this.customer          = customer;
     this.customerRepo      = customerRepo;
     this.inventoryRepo     = inventoryRepo;
     this.locationRepo      = locationRepo;
     this.productRepo       = productRepo;
     this.orderRepo         = orderRepo;
     this.cartRepo          = cartRepo;
     this.cartItemsRepo     = cartItemsRepo;
     this.lineItemRepo      = lineItemRepo;
     this.customerServices  = new CustomerServices(customerRepo);
     this.locationServices  = new LocationServices(locationRepo);
     this.inventoryServices = new InventoryServices(inventoryRepo);
     this.productServices   = new ProductServices(productRepo);
     this.cartServices      = new CartServices(cartRepo);
     this.cartItemServices  = new CartItemServices(cartItemsRepo);
     this.orderServices     = new OrderServices(orderRepo);
     this.lineItemServices  = new lineItemServices(lineItemRepo);
 }
コード例 #3
0
 public LineItemService(IRepo repo)
 {
     this.repo = repo;
 }
コード例 #4
0
 public lineItemServices(ILineItemRepo repo)
 {
     this.repo = repo;
 }
コード例 #5
0
 public Processor(ILogger logger, IProductionRepo IprodRepo, ILineItemRepo ILineItemRepo)
 {
     _logger        = logger;
     _IProdRepo     = IprodRepo;
     _ILineItemRepo = ILineItemRepo;
 }