Пример #1
0
        public PriceCalculationView(PriceCalculationViewModel viewModel, IRegionManager regionManager, IEventAggregator eventAggregator) : base(regionManager, eventAggregator)
        {
            InitializeComponent();

            _viewModel = viewModel;

            //назначаем контексты
            this.DataContext = viewModel;
        }
Пример #2
0
 public RemoveGroupCommand(PriceCalculationViewModel viewModel, IUnityContainer container) : base(viewModel, container)
 {
 }
Пример #3
0
 public AddGroupCommand(PriceCalculationViewModel viewModel, IUnityContainer container, IUnitOfWork unitOfWork)
     : base(viewModel, container)
 {
     _unitOfWork = unitOfWork;
 }
Пример #4
0
 public SaveCommand(PriceCalculationViewModel viewModel, IUnitOfWork unitOfWork, IUnityContainer container)
 {
     _viewModel  = viewModel;
     _unitOfWork = unitOfWork;
     _container  = container;
 }
Пример #5
0
 public RejectCommand(PriceCalculationViewModel viewModel, IUnityContainer container)
 {
     _viewModel = viewModel;
     _container = container;
 }
 protected BasePriceCalculationCommand(PriceCalculationViewModel viewModel, IUnityContainer container)
 {
     ViewModel      = viewModel;
     Container      = container;
     MessageService = Container.Resolve <IMessageService>();
 }
 public RemoveStructureCostCommand(PriceCalculationViewModel viewModel, IUnityContainer container) : base(viewModel, container)
 {
 }
 public LoadFileFromDbCommand(PriceCalculationViewModel viewModel, IUnityContainer container) : base(viewModel, container)
 {
     _filesStorageService = container.Resolve <IFilesStorageService>();
 }
Пример #9
0
 public DivideCommand(PriceCalculationViewModel viewModel, IUnityContainer container) : base(viewModel, container)
 {
 }
 public AddStructureCostCommand(PriceCalculationViewModel viewModel)
 {
     _viewModel = viewModel;
 }
Пример #11
0
 public LoadFileToDbCommand(PriceCalculationViewModel viewModel, IUnityContainer container) : base(viewModel, container)
 {
 }