public ProductionDetailWindow(IProductionContentsService productionContentsService, IMapper mapper,
                               IOptions <AppSettings> settings)
 {
     _productionContentsService = productionContentsService;
     _mapper   = mapper;
     _settings = settings.Value;
     InitializeComponent();
 }
예제 #2
0
 public ProductionWindow(IProductionContentsService productionContentsService,
                         IProductionService productionService, IGoodsInMarketService goodsInMarketService, IMapper mapper,
                         IOptions <AppSettings> settings)
 {
     _productionContentsService = productionContentsService;
     _productionService         = productionService;
     _goodsInMarketService      = goodsInMarketService;
     _mapper   = mapper;
     _settings = settings.Value;
     InitializeComponent();
 }
        public ProductionPage(IProductionService productionService, IEmployeeService employeeService,
                              IGoodsOwnService goodsOwnService, IOptions <AppSettings> settings, IMapper mapper,
                              SimpleNavigationService navigationService, IProductionContentsService productionContentsService,
                              ICategoryService categoryService, IGoodsInMarketOwnService goodsInMarketOwnService, IGoodsWriteOffOwnService goodsWriteOffOwnService)
        {
            _productionService         = productionService;
            _employeeService           = employeeService;
            _goodsOwnService           = goodsOwnService;
            _mapper                    = mapper;
            _navigationService         = navigationService;
            _productionContentsService = productionContentsService;
            _settings                  = settings.Value;
            _categoryService           = categoryService;
            _goodsInMarketOwnService   = goodsInMarketOwnService;
            _goodsWriteOffOwnService   = goodsWriteOffOwnService;
            InitializeComponent();

            UpdateDataGrid();
        }