コード例 #1
0
 public OrderController(IGetProductService getProductService,
     IHttpSession session, IOrderProcessor orderProcessor,
     IGetObjectService<Order> getOrderService,
     ISaveObjectService<Order> saveOrderService)
 {
     _session = session;
     _orderProcessor = orderProcessor;
     _getOrderService = getOrderService;
     _saveOrderService = saveOrderService;
     _getProductService = getProductService;
 }
コード例 #2
0
 public OrderController(IGetProductService getProductService,
                        IHttpSession session, IOrderProcessor orderProcessor,
                        IGetObjectService <Order> getOrderService,
                        ISaveObjectService <Order> saveOrderService)
 {
     _session           = session;
     _orderProcessor    = orderProcessor;
     _getOrderService   = getOrderService;
     _saveOrderService  = saveOrderService;
     _getProductService = getProductService;
 }
 public GetProductFunction(IGetProductService productService, ILogger <GetProductFunction> logger)
 {
     _productService = productService;
     _logger         = logger;
 }