コード例 #1
0
 public WaiterOrderController(ILogger logger,
                              ICommandSender commandSender,
                              ITableService tableService,
                              ICurrentOrderService currentOrderService,
                              IProductService productService,
                              ICategoryService categoryService,
                              IPictureService pictureService,
                              ILocalizationService localizationService,
                              IPermissionService permissionService,
                              ICustomerActivityService customerActivityService,
                              IWorkContext workContext,
                              IDateTimeHelper dateTimeHelper,
                              IClientNotificationService clientNotificationService)
 {
     this._logger                    = logger;
     this._commandSender             = commandSender;
     this._tableService              = tableService;
     this._currentOrderService       = currentOrderService;
     this._productService            = productService;
     this._categoryService           = categoryService;
     this._pictureService            = pictureService;
     this._localizationService       = localizationService;
     this._permissionService         = permissionService;
     this._customerActivityService   = customerActivityService;
     this._workContext               = workContext;
     this._dateTimeHelper            = dateTimeHelper;
     this._clientNotificationService = clientNotificationService;
 }
コード例 #2
0
 public CurrentOrderEventHandlers(IStoreContext storeContext,
                                  IWorkContext workContext,
                                  IWebHelper webHelper,
                                  ICustomerService customerService,
                                  ICustomNumberFormatter customNumberFormatter,
                                  IShoppingCartService shoppingCartService,
                                  IOrderService orderService,
                                  IProductService productService,
                                  ICurrentOrderService currentOrderService,
                                  IRepository <CqrsEvent> cqrsEventReposiory,
                                  IClientNotificationService clientNotificationService,
                                  IDateTimeHelper dateTimeHelper,
                                  ILogger logger)
 {
     _customNumberFormatter     = customNumberFormatter;
     _storeContext              = storeContext;
     _workContext               = workContext;
     _customerService           = customerService;
     _shoppingCartService       = shoppingCartService;
     _webHelper                 = webHelper;
     _orderService              = orderService;
     _productService            = productService;
     _currentOrderService       = currentOrderService;
     _cqrsEventReposiory        = cqrsEventReposiory;
     _clientNotificationService = clientNotificationService;
     _dateTimeHelper            = dateTimeHelper;
     _logger = logger;
 }
 public TrackUploadFinishedEventHandler(
     IMediator mediator,
     IClientNotificationService clientNotificationService)
 {
     this._mediator = mediator;
     this._clientNotificationService = clientNotificationService;
 }
コード例 #4
0
 public NotificationController(ILayoutService layoutService,
                               IClientNotificationService friendService,
                               IApplicationUserService applicationUserService,
                               INotificationService notificationService
                               )
     : base(layoutService)
 {
     _friendService          = friendService;
     _applicationUserService = applicationUserService;
     _notificationService    = notificationService;
 }
コード例 #5
0
 public YourAccountController(ILayoutService layoutService,
                              IApplicationUserService applicationUserService,
                              IClientFriendService friendService,
                              IClientNotificationService notificationService)
     : base(layoutService)
 {
     _applicationUserService = applicationUserService;
     UserManager             = new UserManager <ApplicationUser>(new ApplicationUserStore(new ApplicationDbContext()));
     _friendService          = friendService;
     _notificationService    = notificationService;
 }
コード例 #6
0
 public OrderProcessor(
     IPriceCalculator priceCalculator,
     IOrderProcessorStore orderProcessorStore,
     ICreditCardProcessorClient ccClient,
     IClientNotificationService notificationService
     )
 {
     _priceCalculator     = priceCalculator ?? throw new ArgumentNullException(nameof(priceCalculator));
     _orderProcessorStore = orderProcessorStore ?? throw new ArgumentNullException(nameof(orderProcessorStore));
     _ccClient            = ccClient ?? throw new ArgumentNullException(nameof(ccClient));
     _notificationService = notificationService ?? throw new ArgumentNullException(nameof(notificationService));
 }
コード例 #7
0
 public PostController(ILayoutService layoutService,
                       IPostService postService,
                       IPostTypeService postTypeService,
                       IPostVoteDetailService postVoteDetailService,
                       ICommentService commentOfPost,
                       ICommentVoteDetailService commentVoteDetailService,
                       IClientNotificationService notificationService,
                       IDetailUserTypeService detailUserTypeService,
                       IToiecGroupService fbService,
                       IEventService eventService)
     : base(layoutService)
 {
     _postService              = postService;
     _postTypeService          = postTypeService;
     _postVoteDetailService    = postVoteDetailService;
     _commentOfPost            = commentOfPost;
     _commentVoteDetailService = commentVoteDetailService;
     _detailUserTypeService    = detailUserTypeService;
     _notificationService      = notificationService;
     _fbService    = fbService;
     _eventService = eventService;
 }
コード例 #8
0
 public ClientNotificationController(IClientNotificationService clientNotificationService)
 => _clientNotificationService = clientNotificationService;