public OrderModuleController(
     ICustomerOrderService customerOrderService
     , ICustomerOrderSearchService searchService
     , IStoreService storeService
     , IUniqueNumberGenerator numberGenerator
     , IPlatformMemoryCache platformMemoryCache
     , Func <IOrderRepository> repositoryFactory
     , ICustomerOrderBuilder customerOrderBuilder
     , IShoppingCartService cartService
     , IChangeLogSearchService changeLogSearchService
     , INotificationTemplateRenderer notificationTemplateRenderer
     , INotificationSearchService notificationSearchService
     , ICustomerOrderTotalsCalculator totalsCalculator)
 {
     _customerOrderService  = customerOrderService;
     _searchService         = searchService;
     _uniqueNumberGenerator = numberGenerator;
     _storeService          = storeService;
     _platformMemoryCache   = platformMemoryCache;
     _repositoryFactory     = repositoryFactory;
     //_securityService = securityService;
     //_permissionScopeService = permissionScopeService;
     _customerOrderBuilder         = customerOrderBuilder;
     _cartService                  = cartService;
     _changeLogSearchService       = changeLogSearchService;
     _notificationTemplateRenderer = notificationTemplateRenderer;
     _notificationSearchService    = notificationSearchService;
     _totalsCalculator             = totalsCalculator;
 }
Esempio n. 2
0
 public OrderModuleController(
     ICustomerOrderService customerOrderService,
     ICustomerOrderSearchService searchService,
     IStoreService storeService,
     IUniqueNumberGenerator numberGenerator,
     ICacheManager<object> cacheManager,
     Func<IOrderRepository> repositoryFactory,
     IPermissionScopeService permissionScopeService,
     ISecurityService securityService,
     ICustomerOrderBuilder customerOrderBuilder,
     IShoppingCartService cartService,
     INotificationManager notificationManager,
     INotificationTemplateResolver notificationTemplateResolver,
     IChangeLogService changeLogService,
     ICustomerOrderTotalsCalculator totalsCalculator)
 {
     _customerOrderService = customerOrderService;
     _searchService = searchService;
     _uniqueNumberGenerator = numberGenerator;
     _storeService = storeService;
     _cacheManager = cacheManager;
     _repositoryFactory = repositoryFactory;
     _securityService = securityService;
     _permissionScopeService = permissionScopeService;
     _customerOrderBuilder = customerOrderBuilder;
     _cartService = cartService;
     _notificationManager = notificationManager;
     _notificationTemplateResolver = notificationTemplateResolver;
     _changeLogService = changeLogService;
     _totalsCalculator = totalsCalculator;
 }
 public OrderModuleController(
     ICustomerOrderService customerOrderService
     , ICustomerOrderSearchService searchService
     , IStoreService storeService
     , IUniqueNumberGenerator numberGenerator
     , IPlatformMemoryCache platformMemoryCache
     , Func <IOrderRepository> repositoryFactory
     , ICustomerOrderBuilder customerOrderBuilder
     , IShoppingCartService cartService
     , IChangeLogSearchService changeLogSearchService
     , INotificationTemplateRenderer notificationTemplateRenderer
     , INotificationSearchService notificationSearchService
     , ICustomerOrderTotalsCalculator totalsCalculator
     , IAuthorizationService authorizationService
     , IConverter converter
     , IOptions <HtmlToPdfOptions> htmlToPdfOptions
     , IOptions <MvcNewtonsoftJsonOptions> jsonOptionsAccessor)
 {
     _customerOrderService         = customerOrderService;
     _searchService                = searchService;
     _uniqueNumberGenerator        = numberGenerator;
     _storeService                 = storeService;
     _platformMemoryCache          = platformMemoryCache;
     _repositoryFactory            = repositoryFactory;
     _customerOrderBuilder         = customerOrderBuilder;
     _cartService                  = cartService;
     _changeLogSearchService       = changeLogSearchService;
     _notificationTemplateRenderer = notificationTemplateRenderer;
     _notificationSearchService    = notificationSearchService;
     _totalsCalculator             = totalsCalculator;
     _authorizationService         = authorizationService;
     _htmlToPdfOptions             = htmlToPdfOptions.Value;
     _converter   = converter;
     _jsonOptions = jsonOptionsAccessor.Value;
 }
Esempio n. 4
0
 public CustomerOrderAggregateRepository(ICustomerOrderService customerOrderService,
                                         ICurrencyService currencyService,
                                         ICustomerOrderBuilder customerOrderBuilder)
 {
     _customerOrderService = customerOrderService;
     _currencyService      = currencyService;
     _customerOrderBuilder = customerOrderBuilder;
 }
 public CustomerOrderAggregateRepository(
     Func <CustomerOrderAggregate> customerOrderAggregateFactory,
     ICustomerOrderService customerOrderService,
     ICurrencyService currencyService,
     ICustomerOrderBuilder customerOrderBuilder)
 {
     _customerOrderAggregateFactory = customerOrderAggregateFactory;
     _customerOrderService          = customerOrderService;
     _currencyService      = currencyService;
     _customerOrderBuilder = customerOrderBuilder;
 }