public EditablePermissionMaterialViewModel(
     IFilterViewModelFactory filterViewModelFactory,
     IScreen screen,
     IUnitOfWorkFactory unitOfWorkFactory,
     IValidatorFactory validatorFactory,
     IMessageBus messageBus,
     IGetCatalogAccess getCatalogAccess)
     : base(screen, messageBus, validatorFactory)
 {
     _filterViewModelFactory = filterViewModelFactory;
     _unitOfWorkFactory      = unitOfWorkFactory;
 }
        public AttachedDocumentViewModel(
            IScreen screen,
            IRoutableViewModelManager viewModelManager,
            IUnitOfWorkFactory unitOfWorkFactory,
            IGetCatalogAccess getCatalogAccess)
        {
            HostScreen         = screen;
            _viewModelManager  = viewModelManager;
            _unitOfWorkFactory = unitOfWorkFactory;
            _getAccess         = getCatalogAccess;
            CatalogAccess.LoadForEntity(typeof(AttachedDocument), TypeActionInSystem.TheStandardAddition);

            _disposableObject.Add(this.Binding());
        }
Exemple #3
0
 public ДобавлениеППОПлановогоПриходногоОрдераSteps()
 {
     this._viewModel = this.Bootstrapper.IoC.GetExportedValue <IEditablePlanReceiptOrderViewModel>();
     //this._filterViewModelFactory = this.Bootstrapper.IoC.GetExportedValue<IFilterViewModelFactory>();
     this._getCatalogAccess = this.Bootstrapper.IoC.GetExportedValue <IGetCatalogAccess>();
 }