コード例 #1
0
 public SeasonService(WsdlCalendarService calendar,
                      SalesEvaluatorService evaluator,
                      AggregateFetcher fetcher,
                      IOptimizationNotificationService notificationService,
                      IServiceScopeFactory scopeFactory,
                      PriceCalculatorService calculatorService,
                      IMapper mapper,
                      UserTaskManager taskManager,
                      WaiterService waiter,
                      IOptions <StoreConfiguration> storeConfiguration,
                      ILogger <SeasonService> logger,
                      StoreService store)
 {
     _calendar            = calendar;
     _evaluator           = evaluator;
     _fetcher             = fetcher;
     _notificationService = notificationService;
     _scopeFactory        = scopeFactory;
     _calculatorService   = calculatorService;
     _mapper             = mapper;
     _taskManager        = taskManager;
     _waiter             = waiter;
     _storeConfiguration = storeConfiguration.Value;
     _logger             = logger;
     _store = store;
 }
コード例 #2
0
 public DecreasedSalesHandler(SupplierService supplier,
                              ILogger <DecreasedSalesHandler> logger,
                              IOptimizationNotificationService notificationService,
                              WsdlCalendarService calendar,
                              IServiceScopeFactory scopeFactory,
                              UserTaskManager taskManager)
 {
     _supplier            = supplier;
     _logger              = logger;
     _notificationService = notificationService;
     _calendar            = calendar;
     _scopeFactory        = scopeFactory;
     _taskManager         = taskManager;
 }