public OrderAppService(IOrderManager orderAppService,
                        IProductManager productManager,
                        IProductAttributeManager productAttributeManager,
                        IStoreManager storeManager,
                        ILocalizationManager localizationManager,
                        IPictureManager pictureManager,
                        IProductAttributeParser productAttributeParser,
                        IStateManager stateManager,
                        IProductAttributeFormatter productAttributeFormatter,
                        IOrderExcelExporter orderExcelExporter,
                        ICacheManager cacheManager,
                        IAppNotifier appNotifier)
 {
     this._orderManager              = orderAppService;
     this._storeManager              = storeManager;
     this._localizationManager       = localizationManager;
     this._cacheManager              = cacheManager;
     this._pictureManager            = pictureManager;
     this._productAttributeParser    = productAttributeParser;
     this._stateManager              = stateManager;
     this._productAttributeFormatter = productAttributeFormatter;
     this._productManager            = productManager;
     this._productAttributeManager   = productAttributeManager;
     this._orderExcelExporter        = orderExcelExporter;
     this._appNotifier = appNotifier;
 }
Example #2
0
 /// <summary>
 /// ctor
 /// </summary>
 /// <param name="productRepository"></param>
 /// <param name="productListExcelExporter"></param>
 /// <param name="orderRepository"></param>
 /// <param name="costRepository"></param>
 /// <param name="orderExcelExporter"></param>
 public ProductAppService(IRepository <Product, int> productRepository,
                          IProductListExcelExporter productListExcelExporter, IRepository <Order> orderRepository, IRepository <CustomerCost> costRepository, IOrderExcelExporter orderExcelExporter)
 {
     _productRepository        = productRepository;
     _productListExcelExporter = productListExcelExporter;
     _orderRepository          = orderRepository;
     _costRepository           = costRepository;
     _orderExcelExporter       = orderExcelExporter;
 }