Exemple #1
0
 public ShellController([StateDependency("State")] StateValue <ShuttleState> state,
                        [ServiceDependency] IHttpContextLocatorService contextLocator,
                        [ServiceDependency] IAuthorizationService authService)
     : base(state, contextLocator, authService)
 {
     // code goes here
 }
 public ApprovalsPresenter([ServiceDependency] IOrdersService ordersService,
                           [ServiceDependency] IBusinessPresentationConverter <Order, OrderInfo> ordersConverter,
                           [ServiceDependency] IHttpContextLocatorService httpContextLocatorService)
 {
     _ordersService             = ordersService;
     _ordersConverter           = ordersConverter;
     _httpContextLocatorService = httpContextLocatorService;
 }
 public OrdersController(
     [ServiceDependency] IOrdersService ordersService,
     [ServiceDependency] IHttpContextLocatorService httpContextLocatorService,
     [ServiceDependency] IOrderEntryFlowService orderEntryFlowService)
 {
     _ordersService = ordersService;
     _httpContextLocatorService = httpContextLocatorService;
     _orderEntryFlowService = orderEntryFlowService;
 }
 public OrdersController(
     [ServiceDependency] IOrdersService ordersService,
     [ServiceDependency] IHttpContextLocatorService httpContextLocatorService,
     [ServiceDependency] IOrderEntryFlowService orderEntryFlowService)
 {
     _ordersService             = ordersService;
     _httpContextLocatorService = httpContextLocatorService;
     _orderEntryFlowService     = orderEntryFlowService;
 }
 public SavedDraftsPresenter(
     [ServiceDependency] IOrdersService ordersService,
     [CreateNew] IOrdersController ordersController,
     [ServiceDependency] IBusinessPresentationConverter <Order, OrderInfo> ordersConverter,
     [ServiceDependency] IHttpContextLocatorService httpContextLocatorService)
 {
     _ordersService             = ordersService;
     _ordersController          = ordersController;
     _ordersConverter           = ordersConverter;
     _httpContextLocatorService = httpContextLocatorService;
 }
Exemple #6
0
 public SettingController([ServiceDependency] IHttpContextLocatorService httpContextLocatorService, [ServiceDependency] INavigationService navigationService)
     : base(httpContextLocatorService, navigationService)
 {
     _workspace = ZadsServices.Workspace;
 }
 public OrderEntryFlowService([ServiceDependency] IHttpContextLocatorService httpContextLocatorService)
 {
     this.httpContextLocatorService = httpContextLocatorService;
 }
 public ControllerBase(IHttpContextLocatorService httpCLService, INavigationService navigationService)
 {
     _httpContextLocatorService = httpCLService;
     _navigationService         = navigationService;
 }
 public TestableOrdersController(IHttpContextLocatorService httpContextLocatorService, IOrderEntryFlowService orderEntryFlowService)
     : base(new MockOrdersService(), httpContextLocatorService, orderEntryFlowService)
 {
 }
Exemple #10
0
 public TestableOrdersController(IHttpContextLocatorService httpContextLocatorService, IOrderEntryFlowService orderEntryFlowService)
     : base(new MockOrdersService(), httpContextLocatorService, orderEntryFlowService)
 {
 }
 public OrderEntryFlowService([ServiceDependency] IHttpContextLocatorService httpContextLocatorService)
 {
     this.httpContextLocatorService = httpContextLocatorService;
 }