Пример #1
0
 public ProductController(IProductManager productManager, 
     IClassesManager classesManager,
     IProductServiceFactory productServiceFactory)
 {
     _ProductManager = productManager;
     _ClassesManager = classesManager;
     _ProductServiceFactory= productServiceFactory;
 }
 public DelightService()
 {
     IoCBootstrapper.Boot();
     _accountManager = ObjectFactory.GetInstance<IAccountManager>();
     _categoryManager = ObjectFactory.GetInstance<ICategoryManager>();
     _productManager = ObjectFactory.GetInstance<IProductManager>();
     _userGroupManager = ObjectFactory.GetInstance<IUserGroupManager>();
     _voteManager = ObjectFactory.GetInstance<IVoteManager>();
     _userManager = ObjectFactory.GetInstance<IUserManager>();
     _sessionManager = ObjectFactory.GetInstance<ISessionManager>();
     _messageManager = ObjectFactory.GetInstance<IMessageManager>();
 }
Пример #3
0
		public SaveProductViewModel(IProductManager productManager, IProductCategoryManager categoryManager, IProductSubcategoryManager subcategoryManager,
			IAuthenticationService authService, IMvxMessenger messenger)
			: base(authService, messenger)
		{
			this.ShouldSubscribeToSessionChange = true;
			this._productManager = productManager;
			this._categoryManager = categoryManager;
			this._subcategoryManager = subcategoryManager;
			this.PropertyChanged += propertyChanged;
			this.MainImage = new ImageViewModel();
			validatePrice();
		}
 public OICatalogViewModel(
         IOrderItemManager orderItemManager,
         IOrderManager orderManager,
         IPackageManager packageManager,
         IProductManager productManager,
         IPriceManager priceManager,
         ICustomerManager customerManager
     )
 {
     _orderItemManager = orderItemManager;
     _orderManager = orderManager;
     _packageManager = packageManager;
     _productManager = productManager;
     _priceManager = priceManager;
     _customerManager = customerManager;
 }
 public CatalogViewModel(
         IPackageManager packageManager,
     IProductManager productManager,
     IProducerManager producerManager,
     ICategoryManager categoryManager,
     IMeasureManager measureManager,
     IPriceManager priceManager
     )
 {
     _packageManager = packageManager;
     _productManager = productManager;
     _producerManager = producerManager;
     _categoryManager = categoryManager;
     _measureManager = measureManager;
     _priceManager = priceManager;
 }
Пример #6
0
 public FilterProductsViewModel(IProductManager productManager,
                                IProductCategoryManager categoryManager,
                                IProductSubcategoryManager subcategoryManager,
                                ICountryManager countryManager,
                                ICityManager cityManager,
                                ITagManager tagManager)
     : base()
 {
     this._productManager = productManager;
     this._tagManager = tagManager;
     this._cityManager = cityManager;
     this._countryManager = countryManager;
     this._subcategoryManager = subcategoryManager;
     this._categoryManager = categoryManager;
     this.ProductFilter.PropertyChanged += ProductFilter_PropertyChanged;
     this.ProductFilter.Tags.CollectionChanged += tagsChanged;
 }
Пример #7
0
 public GetFeaturedProducts(IProductManager productManager)
 {
     _productManager = productManager;
 }
Пример #8
0
 public ShoppingCartModel(IProductManager productManager)
 {
     _productManager = productManager;
 }
Пример #9
0
 /// <summary>
 /// Constructor that brings in the interface
 /// </summary>
 /// <param name="product">product manager interface</param>
 public IndexModel(IProductManager product)
 {
     _product = product;
 }
 public CommonController(IBranchManager iBranchManager, IClientManager iClientManager, IOrderManager iOrderManager, IDepartmentManager iDepartmentManager, IInventoryManager iInventoryManager, ICommonManager iCommonManager, IDiscountManager iDiscountManager, IRegionManager iRegionManager, ITerritoryManager iTerritoryManager, IProductManager iProductManager, IInvoiceManager iInvoiceManager, IUpazillaGateway iUpazillaGateway, IDistrictManager iDistrictManager, IEmployeeManager iEmployeeManager, IDeliveryManager iDeliveryManager)
 {
     _iBranchManager     = iBranchManager;
     _iClientManager     = iClientManager;
     _iOrderManager      = iOrderManager;
     _idepartmentManager = iDepartmentManager;
     _iInventoryManager  = iInventoryManager;
     _iCommonManager     = iCommonManager;
     _iDiscountManager   = iDiscountManager;
     _iRegionManager     = iRegionManager;
     _iProductManager    = iProductManager;
     _iTerritoryManager  = iTerritoryManager;
     _iUpazillaGateway   = iUpazillaGateway;
     _iInvoiceManager    = iInvoiceManager;
     _iDistrictManager   = iDistrictManager;
     _iEmployeeManager   = iEmployeeManager;
     _iDeliveryManager   = iDeliveryManager;
 }
Пример #11
0
 public HomeController(ICommonManager iCommonManager, IProductManager iProductManager, IEmployeeManager iEmployeeManager)
 {
     _iCommonManager   = iCommonManager;
     _iProductManager  = iProductManager;
     _iEmployeeManager = iEmployeeManager;
 }
Пример #12
0
 public CategoryViewComponent(ICategoryManager iCategoryManager, IProductManager iProductManager)
 {
     _iCategoryManager = iCategoryManager;
     _iProductManager  = iProductManager;
 }
Пример #13
0
 public ProductController(IProductManager productManager, IMeasureManager measureManager)
 {
     ProductManager = productManager;
     MeasureManager = measureManager;
 }
Пример #14
0
 public HomeController(IVatManager iVatManager, IBranchManager iBranchManager, IClientManager iClientManager, IOrderManager iOrderManager, IReportManager iReportManager, IEmployeeManager iEmployeeManager, ICommonManager iCommonManager, IRegionManager iRegionManager, ITerritoryManager iTerritoryManager, IProductManager iProductManager, IAccountsManager iAccountsManager, IDivisionGateway iDivisionGateway, IDeliveryManager iDeliveryManager, IServiceManager iServiceManager, IDiscountManager iDiscountManager)
 {
     _iVatManager       = iVatManager;
     _iBranchManager    = iBranchManager;
     _iClientManager    = iClientManager;
     _iOrderManager     = iOrderManager;
     _iReportManager    = iReportManager;
     _iEmployeeManager  = iEmployeeManager;
     _iCommonManager    = iCommonManager;
     _iRegionManager    = iRegionManager;
     _iTerritoryManager = iTerritoryManager;
     _iProductManager   = iProductManager;
     _iAccountsManager  = iAccountsManager;
     _iDivisionGateway  = iDivisionGateway;
     _iDeliveryManager  = iDeliveryManager;
     _iServiceManager   = iServiceManager;
     _iDiscountManager  = iDiscountManager;
 }
Пример #15
0
 public ProductController(IProductManager store)
 {
     _store = store;
 }
Пример #16
0
 public ProductService()
 {
     _productMng = new ProductManager();
 }
Пример #17
0
 public UpdateProduct(IProductManager productManager)
 {
     _productManager = productManager;
 }
Пример #18
0
 public HomeController(IBranchManager iBranchManager, IClientManager iClientManager, IDepartmentManager iDepartmentManager, IEmployeeManager iEmployeeManager, IRegionManager iRegionManager, ITerritoryManager iTerritoryManager, IProductManager iProductManager)
 {
     _iBranchManager     = iBranchManager;
     _iClientManager     = iClientManager;
     _iDepartmentManager = iDepartmentManager;
     _iEmployeeManager   = iEmployeeManager;
     _iRegionManager     = iRegionManager;
     _iTerritoryManager  = iTerritoryManager;
     _iProductManager    = iProductManager;
 }
Пример #19
0
 public AddForm(int option, IProductManager productManager)
 {
     _productManager = productManager;
     Option          = option;
     InitializeComponent();
 }
Пример #20
0
 public ProductController(IProductManager productManager, IClassesManager classesManager, IFileStore fileStore)
 {
     _ProductManager = productManager;
     _ClassesManager = classesManager;
     _FileStore = fileStore;
 }
 public MongoApiController(IProductManager productManager)
 {
     _productManager = productManager;
 }
Пример #22
0
 public ProductsController(IProductManager _productManager,
                           IMapper _mapper)
 {
     productManager = _productManager;
     mapper         = _mapper;
 }
Пример #23
0
 public ProductController(IProductManager productManager, ILogger <ProductController> logger)
 {
     _productManager = productManager;
     _logger         = logger;
 }
Пример #24
0
 public ProductController(IProductManager productManager)
 {
     _productManager = productManager;
 }
Пример #25
0
 public GetProductsByCatagory(IProductManager productManager)
 {
     _productManager = productManager;
 }
 public GetProductsQueryHandler(IProductManager productManager, IMapper mapper)
 {
     _productManager = productManager;
     _mapper         = mapper;
 }
Пример #27
0
 public DapperController(IProductManager productManager)
 {
     this.productManager = productManager;
 }
Пример #28
0
 public CreateProduct(IProductManager productManager)
 {
     _productManager = productManager;
 }
 public ProductController(IOrderManager iOrderManager, IReportManager iReportManager, IInventoryManager iInventoryManager, IProductManager iProductManager, IDeliveryManager iDeliveryManager, IProductReturnManager iProductReturnManager)
 {
     _iOrderManager         = iOrderManager;
     _iReportManager        = iReportManager;
     _iInventoryManager     = iInventoryManager;
     _iProductManager       = iProductManager;
     _iDeliveryManager      = iDeliveryManager;
     _iProductReturnManager = iProductReturnManager;
 }
 protected WorkerServiceBase(IDatabaseAdapter databaseAdapter, IProductManager productManager)
 {
     _databaseAdapter = databaseAdapter;
     _productManager  = productManager;
 }
 public ProductControllerHandler(IProductManager productManager, IVariantManager variantManager, IProductVariantManager productVariantManager)
 {
     _productManager        = productManager;
     _variantManager        = variantManager;
     _productVariantManager = productVariantManager;
 }
Пример #32
0
 public OrderService(IOrderRepository orderRepository, IProductRepository productRepository, IProductManager productManager)
 {
     _productRepository = productRepository;
     _orderRepository   = orderRepository;
     _productManager    = productManager;
 }
Пример #33
0
 public RealEstateController(IProductManager productManager)
 {
     _productManager = productManager;
 }
Пример #34
0
 public GetProducts(IProductManager productManager)
 {
     _productManager = productManager;
 }
 public OrderController(IDeliveryManager iDeliveryManager, IInventoryManager iInventoryManager, IProductManager iProductManager, IClientManager iClientManager, IInvoiceManager iInvoiceManager, ICommonManager iCommonManager, IOrderManager iOrderManager, IBranchManager iBranchManager, IReportManager iReportManager)
 {
     _iDeliveryManager  = iDeliveryManager;
     _iInventoryManager = iInventoryManager;
     _iProductManager   = iProductManager;
     _iClientManager    = iClientManager;
     _iInvoiceManager   = iInvoiceManager;
     _iCommonManager    = iCommonManager;
     _iOrderManager     = iOrderManager;
     _iBranchManager    = iBranchManager;
     _iReportManager    = iReportManager;
 }
Пример #36
0
 public AdminController(IProductManager productManager)
 {
     _productManager = productManager;
 }
Пример #37
0
 public VatsController(IVatManager iVatManager, IProductManager iProductManager)
 {
     _iVatManager     = iVatManager;
     _iProductManager = iProductManager;
 }
 public ProductService(IProductManager productManager)
 {
     _productManager = productManager;
 }
 public ShowInfoController(IBranchManager iBranchManager, ICommonManager iCommonManager, IProductManager iProductManager, IClientManager iClientManager, IEmployeeManager iEmployeeManager, IReportManager iReportManager, IInventoryManager iInventoryManager)
 {
     _iBranchManager    = iBranchManager;
     _iCommonManager    = iCommonManager;
     _iProductManager   = iProductManager;
     _iClientManager    = iClientManager;
     _iEmployeeManager  = iEmployeeManager;
     _iReportManager    = iReportManager;
     _iInventoryManager = iInventoryManager;
 }
Пример #40
0
 public ProductController(IProductManager productManager)
 {
     _productManager = productManager;
 }
Пример #41
0
 public void TestSetup()
 {
     _productAccessor     = new FakeProductAccessor();
     _fakeProductAccessor = new FakeProductAccessor();
     _productManager      = new ProductManager(_fakeProductAccessor);
 }
Пример #42
0
		public FavoritesViewModel(IStoreManager storeManager, IProductManager productManager)
			:base()
		{
			this._productManager = productManager;
			this._storeManager = storeManager;
		}
Пример #43
0
 public RecipeController(IRecipeManager recipeManager, IProductManager productManager)
 {
     RecipeManager = recipeManager;
     ProductManager = productManager;
 }