コード例 #1
0
 public StockItemVerifier(IStockItemsService service)
     : base("stock_item", "stock item")
 {
     _service = service;
 }
コード例 #2
0
 public StockItemsController(IBusPublisher busPublisher, IStockItemsService stockItemsService, IPointOfSaleAuthorizationLoader posAuthLoader) : base(busPublisher)
 {
     _stockItemsService = stockItemsService ?? throw new ArgumentNullException(nameof(stockItemsService));
     _posAuthLoader     = posAuthLoader ?? throw new ArgumentNullException(nameof(posAuthLoader));
 }
コード例 #3
0
 public CodeScanner(IStockItemsService stockItemsService)
 {
     _stockItemsService = stockItemsService;
 }
コード例 #4
0
 public StockItemAuthorizationLoader(IStockItemsService stockItemsService, IPointOfSaleAuthorizationLoader posAuthLoader)
 {
     _stockItemsService = stockItemsService ?? throw new ArgumentNullException(nameof(stockItemsService));
     _posAuthLoader     = posAuthLoader ?? throw new ArgumentNullException(nameof(posAuthLoader));
 }