Пример #1
0
 public CalculatorController(IFeeRepository feeFeeRepository, IPricingRepository pricingRepository, ILoyaltyRepository loyaltyRepository, IEquipmentService equipmentService)
 {
     _feeRepository     = feeFeeRepository;
     _pricingRepository = pricingRepository;
     _loyaltyRepository = loyaltyRepository;
     _equipmentService  = equipmentService;
 }
Пример #2
0
 public FightService(
     IHeroService heroService,
     IHealthService healthService,
     IResourcePouchService resourcePouchService,
     IChronometerService chronometerService,
     ILevelService levelService,
     IStatisticsService statisticsService,
     IMonsterService monsterService,
     INotificationService notificationService,
     IEquipmentService equipmentService,
     IAmuletBagService amuletBagService,
     FarmHeroesDbContext context,
     IMapper mapper)
 {
     this.heroService          = heroService;
     this.healthService        = healthService;
     this.resourcePouchService = resourcePouchService;
     this.chronometerService   = chronometerService;
     this.levelService         = levelService;
     this.statisticsService    = statisticsService;
     this.monsterService       = monsterService;
     this.notificationService  = notificationService;
     this.equipmentService     = equipmentService;
     this.amuletBagService     = amuletBagService;
     this.context = context;
     this.mapper  = mapper;
 }
Пример #3
0
        public EditEquipmentViewModel(IEquipmentService equipmentService, IPageService pageService) : base(pageService)
        {
            m_equipmentService = equipmentService;

            ConfirmCommand = new DelegateCommand(Confirm);
            CancelCommand  = new DelegateCommand(Cancel);
        }
Пример #4
0
 public ExercisesController(
     IExercisesService exercisesService,
     IEquipmentService equipmentService)
 {
     this.exercisesService = exercisesService;
     this.equipmentService = equipmentService;
 }
Пример #5
0
 public HomeController(IEquipmentService equipmentService, IMemoryCache cache, IHttpContextAccessor accessor)
 {
     _accessor         = accessor;
     _equipmentService = equipmentService;
     _cache            = cache;
     _headerDictionary = new Dictionary <string, int>();
 }
Пример #6
0
 public ApplicationRun(ITypeEquipmentService typeEquipmentService, IEquipmentService equipmentService)
 {
     this.typeEquipmentService    = typeEquipmentService;
     this.equipmentService        = equipmentService;
     this.typeEquipmentCollection = new EntityCollection <TypeEquipmentView, TypeEquipment>(typeEquipmentService);
     this.equipmentCollection     = new EntityCollection <EquipmentView, Equipment>(equipmentService);
 }
Пример #7
0
        public CreateSystemViewModel(IEquipmentService equipmentService, IPageService pageService) : base(pageService)
        {
            m_equipmentService = equipmentService;

            CreateSystemCommand = new DelegateCommand(CreateSystem);
            CancelCommand       = new DelegateCommand(Cancel);
        }
Пример #8
0
 public DebugController(IPopupService popupService, ICountryRepository countryRepository, ICongressVotingService congressVotingService,
                        ICongressVotingRepository congressVotingRepository, IBattleService battleService, IBattleRepository battleRepository,
                        ICompanyService companyService, IWalletService walletService, IMarketService marketService, IEquipmentService equipmentService,
                        ITransactionScopeProvider transactionScopeProvider, ICompanyRepository companyRepository, IEquipmentRepository equipmentRepository,
                        IHotelRepository hotelRepository, IMahService mahService, IHouseService houseService, IHouseRepository houseRepository,
                        HouseDayChangeProcessor houseDayChangeProcessor) : base(popupService)
 {
     this.countryRepository        = countryRepository;
     this.congressVotingService    = congressVotingService;
     this.congressVotingRepository = congressVotingRepository;
     this.battleService            = battleService;
     this.battleRepository         = battleRepository;
     this.companyService           = companyService;
     this.walletService            = walletService;
     this.marketService            = marketService;
     this.equipmentService         = equipmentService;
     this.transactionScopeProvider = transactionScopeProvider;
     this.companyRepository        = companyRepository;
     this.equipmentRepository      = equipmentRepository;
     this.hotelRepository          = hotelRepository;
     this.mahService              = mahService;
     this.houseService            = houseService;
     this.houseRepository         = houseRepository;
     this.houseDayChangeProcessor = houseDayChangeProcessor;
 }
Пример #9
0
        public EditEquipmentViewModel(IEquipmentService equipmentService = null)
        {
            _equipmentService = equipmentService ?? (IEquipmentService)Locator.Current.GetService(typeof(IEquipmentService));
            var jsonStr = Preferences.Get("mItem", "{}");

            Equipment = JsonConvert.DeserializeObject <Equipment>(jsonStr);
            var tn = new List <string> {
                "Outdoor", "Indoor"
            };
            var ts = new List <Types>();

            ts.Add(new Types {
                Type = Equipment.Type, TypeName = Equipment.TypeName
            });
            foreach (var item in tn)
            {
                if (item.ToLower() != Equipment.TypeName.ToLower())
                {
                    ts.Add(new Types {
                        Type = Equipment.Type == 0 ? 1 : 0, TypeName = item
                    });
                }
            }
            EquipTypes = ts;
            Name       = Equipment.Name;
            Quantity   = Equipment.Quantity;
            EquipType  = EquipTypes[0];
            TitleName  = $"Edit {Equipment.Name}";
        }
Пример #10
0
 public ManagerController(IManagerService managerService, IAgentService agentService, IEquipmentService equipmentService, IEquipmentDistributionService equipmentDistributionService)
 {
     _managerService               = managerService;
     _agentService                 = agentService;
     _equipmentService             = equipmentService;
     _equipmentDistributionService = equipmentDistributionService;
 }
Пример #11
0
 public EquipmentController(ApplicationUserManager userManager, ApplicationSignInManager aps, IUserService IUS, IEquipmentService equipmentService, IRoomService roomService)
     : base(userManager, aps)
 {
     _roomService           = roomService;
     this._userService      = IUS;
     this._equipmentService = equipmentService;
 }
Пример #12
0
 public ExercisesController(IExercisesService exercisesService, IWorkoutService workoutService, UserManager <ApplicationUser> userManager, IEquipmentService equipmentService)
 {
     this.exercisesService = exercisesService;
     this.workoutService   = workoutService;
     this.userManager      = userManager;
     this.equipmentService = equipmentService;
 }
Пример #13
0
 public CompanyService(ICitizenService citizenService, IConfigurationRepository configurationRepository,
                       IEquipmentRepository equipmentRepository, IProductService productService, IProductRepository productRepository,
                       ICitizenRepository citizenRepository, ITransactionsService transactionService,
                       IJobOfferService jobOfferService, ICompanyEmployeeRepository companyEmployeeRepository,
                       ICompanyRepository companyRepository, IEntityService entityService, ICompanyManagerRepository companyManagerRepository,
                       IRegionRepository regionRepository, IWarningService warningService, IJobOfferRepository jobOfferRepository,
                       IEquipmentService equipmentService, IContractService contractService, IWalletService walletService, IPopupService popupService,
                       IRegionService regionService, ICompanyFinanceSummaryService companyFinanceSummaryService)
 {
     this.companyRepository         = companyRepository;
     this.entityService             = entityService;
     this.companyManagerRepository  = companyManagerRepository;
     this.jobOfferService           = jobOfferService;
     this.companyEmployeeRepository = companyEmployeeRepository;
     this.citizenRepository         = citizenRepository;
     this.transactionService        = transactionService;
     this.equipmentRepository       = equipmentRepository;
     this.productService            = productService;
     this.productRepository         = productRepository;
     this.citizenService            = Attach(citizenService);
     this.configurationRepository   = configurationRepository;
     this.regionRepository          = regionRepository;
     this.warningService            = Attach(warningService);
     this.jobOfferRepository        = jobOfferRepository;
     this.equipmentService          = Attach(equipmentService);
     this.contractService           = Attach(contractService);
     this.walletService             = Attach(walletService);
     this.popupService  = Attach(popupService);
     this.regionService = Attach(regionService);
     this.companyFinanceSummaryService = Attach(companyFinanceSummaryService);
 }
Пример #14
0
 public EquipmentsAreaController(IAreaService areaService, IEquipmentService equipmentService
                                 , IMapper mapper)
 {
     _areaService      = areaService;
     _equipmentService = equipmentService;
     _mapper           = mapper;
 }
Пример #15
0
 public CharacterFacade(IUnitOfWorkProvider unitOfWorkProvider, ICharacterService characterService,
                        IAttributesService attributesService, IEquipmentService equipmentService, IInventoryService inventoryService) : base(unitOfWorkProvider)
 {
     _characterService  = characterService;
     _attributesService = attributesService;
     _equipmentService  = equipmentService;
 }
Пример #16
0
 public EquipmentController(IEquipmentService iEquipmentService,
                            IEmployeeService iEmployeeService,
                            IMerchantService iMerchantService)
 {
     this.iEquipmentService = iEquipmentService;
     this.iEmployeeService  = iEmployeeService;
     this.iMerchantService  = iMerchantService;
 }
Пример #17
0
 public HistoryController(IHistoryService historyService, IStatusTypeService statusTypeService, IRepairPlaceService repairPlaceService, IEquipmentService equipmentService, IEmployeeService employeeService)
 {
     HistoryService     = historyService;
     StatusTypeService  = statusTypeService;
     RepairPlaceService = repairPlaceService;
     EquipmentService   = equipmentService;
     EmployeeService    = employeeService;
 }
Пример #18
0
 public EquipmentsController(ApplicationDbContext context,
                             IEquipmentService equipSvc,
                             IEquipmentTypeService equipTypeSvc)
 {
     _context          = context;
     _equipSvc         = equipSvc;
     _equipmentTypeSvc = equipTypeSvc;
 }
Пример #19
0
 public CongregationService(MinistryPlatform.Translation.Repositories.Interfaces.ICongregationRepository congregationService,
                            IRoomService roomService,
                            IEquipmentService equipmentService)
 {
     _congregationService = congregationService;
     _roomService         = roomService;
     _equipmentService    = equipmentService;
 }
Пример #20
0
        public EquipmentDetailsViewModel(IEquipmentService equipmentService, IPageService pageService) : base(pageService)
        {
            m_equipmentService = equipmentService;

            EditEquipmentCommand        = new DelegateCommand(EditEquipment);
            CreateNewEquipmentCommand   = new DelegateCommand(CreateNewEquipment);
            ShowEquipmentDetailsCommand = new DelegateCommand <Equipment>(ShowEquipmentDetails);
        }
Пример #21
0
 public InitialController(IBrigadeService brigadeService, IDepartmentService departmentService, IEquipmentService equipmentService, ILastRepairService lastRepairService, INextRepairService nextRepairService)
 {
     _brigadeService    = brigadeService;
     _departmentService = departmentService;
     _equipmentService  = equipmentService;
     _lastRepairService = lastRepairService;
     _nextRepairService = nextRepairService;
 }
Пример #22
0
 public FixOrderController(ApplicationUserManager userManager, IUnitOfWork unitOfWork, ApplicationSignInManager aps, IUserService IUS, IEquipmentService equipmentService, IRoomService roomService, IFixOrderServices fixOrderServices, IFixOrderEqupService fixOrderEqupService) : base(userManager, aps)
 {
     _roomService           = roomService;
     this._userService      = IUS;
     _unitOfWork            = unitOfWork;
     this._equipmentService = equipmentService;
     _fixOrderServices      = fixOrderServices;
     _fixOrderEqupService   = fixOrderEqupService;
 }
Пример #23
0
 public BaseController(
     IComponentService componentService,
     IComponentTypeService componentTypeService,
     IEquipmentService equipmentService)
 {
     ComponentService     = componentService;
     ComponentTypeService = componentTypeService;
     EquipmentService     = equipmentService;
 }
Пример #24
0
 public BaseController(
     IEquipmentService equipmentService,
     IEquipmentTypeService equipmentTypeService,
     IEmployeeService employeeService)
 {
     EquipmentService     = equipmentService;
     EquipmentTypeService = equipmentTypeService;
     EmployeeService      = employeeService;
 }
Пример #25
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="appointmentRepository"></param>
 /// <param name="appointmentEquipmentIsAvailableValidator"></param>
 /// <param name="appointmentPatientMustExistRuleValidator"></param>
 /// <param name="mediator"></param>
 public BookAppointmentCommandHandler(IAppointmentRepository appointmentRepository, IBaseRepository <Patient> repository, IEquipmentService equipmentService, IAppointmentEquipmentIsAvailableValidator appointmentEquipmentIsAvailableValidator, IAppointmentPatientMustExistRuleValidator appointmentPatientMustExistRuleValidator, IMediator mediator)
 {
     _appointmentRepository = appointmentRepository;
     _repository            = repository;
     _equipmentService      = equipmentService;
     _appointmentEquipmentIsAvailableValidator = appointmentEquipmentIsAvailableValidator;
     _appointmentPatientMustExistRuleValidator = appointmentPatientMustExistRuleValidator;
     _mediator = mediator;
 }
 /// <summary>
 /// Cancel Appointment Command Handler
 /// </summary>
 /// <param name="appointmentRepository"></param>
 /// <param name="appointmentMustExistValidator"></param>
 /// <param name="mediator"></param>
 public CancelAppointmentCommandHandler(IAppointmentRepository appointmentWriteRepository, IBaseRepository <Appointment> appointmentRepository, IBaseRepository <Patient> patientsRepository, IAppointmentMustExistValidator appointmentMustExistValidator, IEquipmentService equipmentService, IMediator mediator)
 {
     _appointmentWriteRepository    = appointmentWriteRepository;
     _appointmentRepository         = appointmentRepository;
     _patientsRepository            = patientsRepository;
     _appointmentMustExistValidator = appointmentMustExistValidator;
     _equipmentService = equipmentService;
     _mediator         = mediator;
 }
 public QuestService(IIdentity identity)
 {
     questDal    = new QuestDal();
     heroDal     = new HeroDal();
     myHero      = heroDal.GetByPlayer(int.Parse(identity.Name));
     itemDal     = new ItemDal();
     eqService   = new EquipmentService();
     heroService = new HeroService(identity);
 }
Пример #28
0
        public RigDetailsViewModel(IRigService rigService, IEquipmentService equipmentService, IPageService pageService) : base(pageService)
        {
            m_rigService       = rigService;
            m_equipmentService = equipmentService;

            EditRigCommand           = new DelegateCommand(EditRig);
            CreateNewSystemCommand   = new DelegateCommand(CreateSystem);
            ShowSystemDetailsCommand = new DelegateCommand <Equipment>(ShowSystemDetails);
        }
Пример #29
0
 public AmuletBagService(IHeroService heroService, IEquipmentService equipmentService, IResourcePouchService resourcePouchService, FarmHeroesDbContext context, IMapper mapper, LocalizationService localizationService)
 {
     this.heroService          = heroService;
     this.equipmentService     = equipmentService;
     this.resourcePouchService = resourcePouchService;
     this.context             = context;
     this.mapper              = mapper;
     this.localizationService = localizationService;
 }
 public EquipmentController(
     IEquipmentService equipmentService,
     IEquipmentFacade equipmentFacade,
     IMapper mapper)
 {
     _equipmentService = equipmentService;
     _equipmentFacade  = equipmentFacade;
     _mapper           = mapper;
 }
 public EquipmentController(IEquipmentService EquipmentService)
 {
     this.EquipmentService = EquipmentService;
 }
Пример #32
0
 public EquipmentController(IEquipmentService equipmentService)
 {
     _equipmentService = equipmentService;
 }