示例#1
0
 public InventoryBySKUSiteSettingsPartDriver(
     IProductInventoryService productInventoryService,
     IWorkContextAccessor workContextAccessor)
 {
     _productInventoryService = productInventoryService;
     _workContextAccessor     = workContextAccessor;
 }
示例#2
0
 public DeliveryStaffController(IDeliveryService _deliveryService, IOrderService _orderService,
                                IProductInventoryService _productInventoryService)
 {
     deliveryService         = _deliveryService;
     productInventoryService = _productInventoryService;
     orderService            = _orderService;
 }
示例#3
0
 public InventoryBySKUFeature(
     IOrchardServices orchardServices,
     IProductInventoryService productInventoryService)
 {
     _orchardServices         = orchardServices;
     _productInventoryService = productInventoryService;
 }
示例#4
0
 public StaffController(ICustomerService _customerService, IDeliveryService _deliveryService,
                        IOrderService _orderService, IProductInventoryService _productInventoryService)
 {
     customerService         = _customerService;
     deliveryService         = _deliveryService;
     productInventoryService = _productInventoryService;
     orderService            = _orderService;
 }
 public InventoryBySKUSettingsAdminController(
     IProductInventoryService productInventoryService,
     IWorkContextAccessor workContextAccessor,
     IContentManager contentManager)
 {
     _productInventoryService = productInventoryService;
     _workContextAccessor     = workContextAccessor;
     _contentManager          = contentManager;
 }
 public ManagerController(IProductInventoryService _productInventoryService, ICustomerService _customerService,
                          IOrderService _orderService, IDeliveryStaffService _deliveryStaffService,
                          IDeliveryService _deliveryService)
 {
     deliveryService         = _deliveryService;
     deliveryStaffService    = _deliveryStaffService;
     productInventoryService = _productInventoryService;
     customerService         = _customerService;
     orderService            = _orderService;
 }
示例#7
0
 public BundleAdminController(
     IBundleService bundleService,
     IBundleAutocompleteService bundleAutocompleteService,
     IContentManager contentManager,
     IProductInventoryService productInventoryService)
 {
     _bundleService             = bundleService;
     _bundleAutocompleteService = bundleAutocompleteService;
     _contentManager            = contentManager;
     _productInventoryService   = productInventoryService;
 }
 public AbstractProductInventoryController(
     ApiSettings settings,
     ILogger <AbstractProductInventoryController> logger,
     ITransactionCoordinator transactionCoordinator,
     IProductInventoryService productInventoryService,
     IApiProductInventoryModelMapper productInventoryModelMapper
     )
     : base(settings, logger, transactionCoordinator)
 {
     this.ProductInventoryService     = productInventoryService;
     this.ProductInventoryModelMapper = productInventoryModelMapper;
 }
        public frmProductInventory(IProductInventoryService productInventoryService, IYearlyProductInventoryService yearlyProductInventoryService)
        {
            InitializeComponent();
            //useful centering circular progressbar
            this.WindowState = FormWindowState.Maximized;

            _productInventoryService       = productInventoryService;
            _yearlyProductInventoryService = yearlyProductInventoryService;
            radioBeginning.CheckedChanged += Radio_CheckedChanged;
            radioSale.CheckedChanged      += Radio_CheckedChanged;
            radioPurchase.CheckedChanged  += Radio_CheckedChanged;
            radioEnding.CheckedChanged    += Radio_CheckedChanged;
        }
        public ProductPartVersioningHandler(
            IRepository <ProductPartVersionRecord> versionRepository,
            IContentManager contentManager,
            IProductInventoryService productInventoryService
            )
        {
            Filters.Add(StorageFilter.For(versionRepository));

            _contentManager          = contentManager;
            _productInventoryService = productInventoryService;

            OnUpdated <ProductPart>(SynchronizeOnUpdate);
        }
 public ProductPartDriver(
     IWorkContextAccessor wca,
     IPriceService priceService,
     IEnumerable <IProductAttributesDriver> attributeProviders,
     ICurrencyProvider currencyProvider,
     IProductInventoryService productInventoryService,
     ITieredPriceProvider tieredPriceProvider = null)
 {
     _wca                     = wca;
     _priceService            = priceService;
     _attributeProviders      = attributeProviders;
     _tieredPriceProvider     = tieredPriceProvider;
     _currencyProvider        = currencyProvider;
     _productInventoryService = productInventoryService;
 }
 public ProductInventoryController(
     ApiSettings settings,
     ILogger <ProductInventoryController> logger,
     ITransactionCoordinator transactionCoordinator,
     IProductInventoryService productInventoryService,
     IApiProductInventoryModelMapper productInventoryModelMapper
     )
     : base(settings,
            logger,
            transactionCoordinator,
            productInventoryService,
            productInventoryModelMapper)
 {
     this.BulkInsertLimit = 250;
     this.MaxLimit        = 1000;
     this.DefaultLimit    = 250;
 }
 public ProductAdminController(
     IOrchardServices services,
     IContentManager contentManager,
     ISiteService siteService,
     IWorkContextAccessor wca,
     IShapeFactory shapeFactory,
     IOrchardServices orchardServices,
     IProductInventoryService productInventoryService)
 {
     Services        = services;
     _contentManager = contentManager;
     _siteService    = siteService;
     _wca            = wca;
     T                        = NullLocalizer.Instance;
     Shape                    = shapeFactory;
     _orchardServices         = orchardServices;
     _productInventoryService = productInventoryService;
 }
示例#14
0
 public ProductInventoryController(IProductInventoryService ProductInventoryService)
 {
     this.ProductInventoryService = ProductInventoryService;
 }
示例#15
0
 public PurchaseTransactionViewModel(IProductService productService,
                                     IProductInventoryService productInventoryService)
 {
     _productService          = productService;
     _productInventoryService = productInventoryService;
 }
示例#16
0
 public void TestInitialize()
 {
     _repository     = new Mock <IProductRepository>();
     _productService = new ProductInventoryService(_repository.Object);
 }
 public InventoryBySKUProductPartDriver(
     IProductInventoryService productInventoryService)
 {
     _productInventoryService = productInventoryService;
 }
 public ProductController(IProductInventoryService productInventoryService)
 {
     _productInventoryService = productInventoryService;
 }