コード例 #1
0
 public OrdersController(
     [ServiceDependency] IOrdersService ordersService,
     [ServiceDependency] IHttpContextLocatorService httpContextLocatorService,
     [ServiceDependency] IOrderEntryFlowService orderEntryFlowService)
 {
     _ordersService = ordersService;
     _httpContextLocatorService = httpContextLocatorService;
     _orderEntryFlowService = orderEntryFlowService;
 }
コード例 #2
0
 public OrdersController(
     [ServiceDependency] IOrdersService ordersService,
     [ServiceDependency] IHttpContextLocatorService httpContextLocatorService,
     [ServiceDependency] IOrderEntryFlowService orderEntryFlowService)
 {
     _ordersService             = ordersService;
     _httpContextLocatorService = httpContextLocatorService;
     _orderEntryFlowService     = orderEntryFlowService;
 }
コード例 #3
0
 public TestableOrdersController(IHttpContextLocatorService httpContextLocatorService, IOrderEntryFlowService orderEntryFlowService)
     : base(new MockOrdersService(), httpContextLocatorService, orderEntryFlowService)
 {
 }
コード例 #4
0
 public TestableOrdersController(IHttpContextLocatorService httpContextLocatorService, IOrderEntryFlowService orderEntryFlowService)
     : base(new MockOrdersService(), httpContextLocatorService, orderEntryFlowService)
 {
 }