public UiModule(IUnityContainer container, IRegionManager regionManager, IDialogService dialogService, ISelectService selectService, IUpdateDetailsService updateDetailsService) : base(container, regionManager) { _dialogService = dialogService; _selectService = selectService; _updateDetailsService = updateDetailsService; }
/// <summary> /// 依赖注入 /// </summary> public QuestionController( IJudgeService judgeService, ISelectService selectService) { _selectService = selectService; _judgeService = judgeService; }
public DerLayoutController(IDropdownService dropdownService, IDerService derService, IMeasurementService measurementService, IHighlightService highlightService, ISelectService selectService, IUserService userService) { _dropdownService = dropdownService; _derService = derService; _measurementService = measurementService; _selectService = selectService; _userService = userService; }
public PrescriptionController(IPrescriptionRepo prescriptionRepo, ILogger <PrescriptionController> logger, ISelectService selectService, IDrugStoreStockRepo drugStoreStockRepo, IEmailSenderService emailSenderService) { _prescriptionRepo = prescriptionRepo; _logger = logger; _selectService = selectService; _drugStoreStockRepo = drugStoreStockRepo; _emailSenderService = emailSenderService; }
public DerLayoutController(IDropdownService dropdownService, IDerService derService, IMeasurementService measurementService, IHighlightService highlightService, ISelectService selectService) { _dropdownService = dropdownService; _derService = derService; _measurementService = measurementService; _highlightService = highlightService; _selectService = selectService; }
public VesselScheduleController(IVesselScheduleService vesselScheduleService, IVesselService vesselService, IBuyerService buyerService, ISelectService selectService) { _vesselScheduleService = vesselScheduleService; _vesselService = vesselService; _buyerService = buyerService; _selectService = selectService; }
public BankAgencyService( IBankAgencyRepository bankAgencyRepository, ISelectService selectService, IMapper mapper ) { _bankAgencyRepository = bankAgencyRepository; _selectService = selectService; _mapper = mapper; }
public AccountTypeService( IAccountTypeRepository accountTypeRepository, IMapper mapper, ISelectService selectService ) { _accountTypeRepository = accountTypeRepository; _mapper = mapper; _selectService = selectService; }
public OperationMethodService(IOperationMethodRepository operationMethodRepository, IOperationMethodLexicalService operationMethodLexicalService, ISelectService selectService, IMapper mapper) { _operationMethodRepository = operationMethodRepository; _operationMethodLexicalService = operationMethodLexicalService; _selectService = selectService; _mapper = mapper; }
public OperationTransverseService( IOperationTransverseRepository operationTransverseRepository, IMapper mapper, ISelectService selectService ) { _operationTransverseRepository = operationTransverseRepository; _mapper = mapper; _selectService = selectService; }
public PaymentConditionViewModel(PaymentConditionSet paymentConditionSet, IUnityContainer container) { _unitOfWork = container.Resolve <IUnitOfWork>(); PaymentConditionWrapper = new PaymentConditionWrapper2(paymentConditionSet) { Part = 1.0 - paymentConditionSet.PaymentConditions.Sum(condition => condition.Part), PaymentConditionPoint = new PaymentConditionPointWrapper(_unitOfWork.Repository <PaymentConditionPoint>().GetAll().First()) }; OkCommand = new DelegateLogCommand( () => { PaymentCondition paymentCondition = this.PaymentConditionWrapper.Model; //если условие новое if (_unitOfWork.Repository <PaymentCondition>() .Find(condition => Equals(condition, paymentCondition)) .Any() == false) { if (_unitOfWork.SaveEntity(paymentCondition).OperationCompletedSuccessfully) { this.PaymentConditionWrapper.AcceptChanges(); container.Resolve <IEventAggregator>().GetEvent <AfterSavePaymentConditionEvent>().Publish(paymentCondition); } else { return; } } IsOk = true; CloseRequested?.Invoke(this, new DialogRequestCloseEventArgs(true)); }, () => PaymentConditionWrapper.IsValid && PaymentConditionWrapper.IsChanged); PaymentConditionWrapper.PropertyChanged += (sender, args) => OkCommand.RaiseCanExecuteChanged(); SelectPaymentConditionPointCommand = new DelegateLogCommand( () => { ISelectService selectService = container.Resolve <ISelectService>(); PaymentConditionPoint point = selectService.SelectItem(_unitOfWork.Repository <PaymentConditionPoint>().GetAll()); if (point != null) { this.PaymentConditionWrapper.PaymentConditionPoint = new PaymentConditionPointWrapper(point); } }); ClearPaymentConditionPointCommand = new DelegateLogCommand( () => { this.PaymentConditionWrapper.PaymentConditionPoint = null; }); }
public CustomFieldFactory( Func <CustomFieldViewModel> customFieldViewModelFactory, ISelectService <LoggType> selectService, IBaseService <LoggType> customFieldService, IBaseService <LoggTypeGroup> customFieldGroupService) { _customFieldViewModelFactory = customFieldViewModelFactory; _selectService = selectService; _customFieldService = customFieldService; _customFieldGroupService = customFieldGroupService; }
/// <summary> /// 依赖注入 /// </summary> public StuanswerdetailService( IRepository <TbStuanswerdetail> answerRepository, IRepository <TbExamquestion> examquestionRepository, ISelectService selectService, IJudgeService judgeService) { _answerRepository = answerRepository; _examquestionRepository = examquestionRepository; _selectService = selectService; _judgeService = judgeService; }
public CompanyDetailsViewModel(IUnityContainer container, ISelectService selectService) : base(container) { _selectService = selectService; Forms = new ObservableCollection <CompanyFormWrapper>(UnitOfWork.CompanyForms.GetAll().Select(x => new CompanyFormWrapper(x))); SelectParentCompanyCommand = new DelegateCommand(SelectParentCompanyCommand_Execute); RemoveParentCompanyCommand = new DelegateCommand(RemoveParentCompanyCommand_Execute); AddActivityFieldCommand = new DelegateCommand(AddActivityFieldCommand_Execute); RemoveActivityFieldCommand = new DelegateCommand(RemoveActivityFieldCommand_Execute, RemoveActivityFieldCommand_CanExecute); }
public CustomFieldViewModel(IBaseService <LoggType> customFieldService, INavigator navigator, ISelectService <LoggType> selectService, IHuntFactory huntFactory) { _customFieldService = customFieldService; _navigator = navigator; _selectService = selectService; _huntFactory = huntFactory; //SaveCommand = new Command(async () => await Save()); //DeleteCommand = new Command(async () => await Delete()); ItemTappedCommand = new Command(async() => await Tapped()); CancelCommand = new Command(async() => { await PopAsync(); }); }
public OperationTypeService( IOperationTypeRepository operationTypeRepository, ISelectService selectService, IMapper mapper, IOperationTypeFamilyService operationTypeFamilyService ) { _operationTypeRepository = operationTypeRepository; _selectService = selectService; _mapper = mapper; _operationTypeFamilyService = operationTypeFamilyService; }
public OrderController(IApothecaryRepo apothecaryRepo, IOrderRepo orderRepo, IMedicineRepo medicineRepo, ILogger <OrderController> logger, ISelectService selectService) { _apothecaryRepo = apothecaryRepo; _orderRepo = orderRepo; _medicineRepo = medicineRepo; _logger = logger; _selectService = selectService; }
public SpecieViewModel(IBaseService <Art> specieService, INavigator navigator, ISelectService <Art> selectService, IHuntFactory huntFactory) { _specieService = specieService; _navigator = navigator; _selectService = selectService; _huntFactory = huntFactory; //SaveCommand = new Command(async () => await Save()); //DeleteCommand = new Command(async () => await Delete()); ItemTappedCommand = new Command(async() => await Tapped()); CancelCommand = new Command(async() => { await PopAsync(); }); CreateImageActions(); }
public OperationService( IMapper mapper, IOperationRepository operationRepository, ISelectService selectService, IOperationMethodService operationMethodService, IOperationTypeService operationTypeService ) { _mapper = mapper; _operationRepository = operationRepository; _selectService = selectService; _operationMethodService = operationMethodService; _operationTypeService = operationTypeService; }
/// <summary> /// 依赖注入 /// </summary> public ExamController( IExamService examService, IQuestionService questionService, IStuanswerdetailService stuanswerdetailService, ISelectService selectService, IJudgeService judgeService, IStuscoreService stuscoreService) { _examService = examService; _questionService = questionService; _stuanswerdetailService = stuanswerdetailService; _selectService = selectService; _judgeService = judgeService; _stuscoreService = stuscoreService; }
public SpeciesViewModel(IBaseService <Art> specieService, IBaseService <ArtGroup> specieGroupService, ISelectService <Art> selectService, INavigator navigator, Func <SpecieViewModel> specieViewModelFactory, IHuntFactory huntFactory) { _specieService = specieService; _specieGroupService = specieGroupService; _selectService = selectService; _navigator = navigator; _specieViewModelFactory = specieViewModelFactory; _huntFactory = huntFactory; AddCommand = new Command(async() => await AddItem()); //DeleteItemCommand = new Command(async (item) => await DeleteItem(item)); }
public HighlightController(IHighlightService highlightService, ISelectService selectService, INLSService nlsService, IVesselScheduleService vesselScheduleService, IWeatherService weatherService, IHighlightOrderService highlightOrderService, IHighlightGroupService highlightGroupService ) { _highlightService = highlightService; _selectService = selectService; _nlsService = nlsService; _vesselScheduleService = vesselScheduleService; _waetherService = weatherService; _highlightOrderService = highlightOrderService; _highlightGroupService = highlightGroupService; }
public DerLoadingScheduleController(IVesselScheduleService vesselScheduleService, IVesselService vesselService, IBuyerService buyerService, ISelectService selectService, IMeasurementService measurementService, INLSService nlsService, IHighlightOrderService highlightOrderService, IDerLoadingScheduleService derLoadingScheduleService) { _vesselScheduleService = vesselScheduleService; _vesselService = vesselService; _buyerService = buyerService; _selectService = selectService; _measurementService = measurementService; _nlsService = nlsService; _highlightOrderService = highlightOrderService; _derLoadingScheduleService = derLoadingScheduleService; }
public OperationTypeFamilyService( IOperationTypeFamilyRepository operationTypeFamilyRepository, ISelectService selectService, IMovementService movementService, IMapper mapper, IHostingEnvironment hostingEnvironment, IContextTransaction contextTransaction, IMailService mailService //IOperationTypeService operationTypeService ) { _operationTypeFamilyRepository = operationTypeFamilyRepository; _selectService = selectService; _mapper = mapper; _movementService = movementService; _hostingEnvironment = hostingEnvironment; _contextTransaction = contextTransaction; _mailService = mailService; //_operationTypeService = operationTypeService; }
public DerTransactionController(IDerService derService, IDerTransactionService derTransactionService, IKpiAchievementService kpiAchievementService, IKpiTargetService kpiTargetService, IHighlightService highlightService, ISelectService selectService, IWaveService waveService, IWeatherService weatherService, IDerLoadingScheduleService derLoadingScheduleService, IKpiTransformationService kpiTransformationService) { _derService = derService; _derTransactionService = derTransactionService; _kpiAchievementService = kpiAchievementService; _kpiTargetService = kpiTargetService; _highlightService = highlightService; _selectService = selectService; _waveService = waveService; _weatherService = weatherService; _derLoadingScheduleService = derLoadingScheduleService; _kpiTransformationService = kpiTransformationService; }
public HuntFactory(IBaseService <Jeger> hunterService, INavigator navigator, IBaseService <Jakt> huntService, IBaseService <Logg> logService, IBaseService <Dog> dogService, IBaseService <Art> specieService, IDialogService dialogService, IFileManager fileManager, Func <SpecieViewModel> specieViewModelFactory, ISelectService <Art> selectService) { _hunterService = hunterService; _navigator = navigator; _huntService = huntService; _logService = logService; _dogService = dogService; _specieService = specieService; _dialogService = dialogService; _fileManager = fileManager; _specieViewModelFactory = specieViewModelFactory; _selectService = selectService; }
public SelectController(ISelectService selectService) { _selectService = selectService; }
public PharmacyController(IPharmacyRepository pharmacyRepository, ISelectService selectService) { _pharmacyRepository = pharmacyRepository; _selectService = selectService; }
public WaveController(IWaveService waveService, ISelectService selectService) { _waveService = waveService; _selectService = selectService; }
public WeatherController(IWeatherService weatherService, ISelectService selectService) { _weatherService = weatherService; _selectService = selectService; }
public WeatherController(IWeatherService weatherService,ISelectService selectService) { _weatherService = weatherService; _selectService = selectService; }
public TemplateController(IArtifactService artifactService, ITemplateService templateService, ISelectService selectService) { _artifactService = artifactService; _templateService = templateService; _selectService = selectService; }