Пример #1
0
 public SkillsController()
 {
     _skillService          = new SkillService(new SkillRepository(db));
     _TrainingCourseService = new TrainingCourseService(new TrainingCourseRepository(db));
     _PostService           = new PostService(new PostRepository(db));
     _EmployeeService       = new EmployeeService(new EmployeeRepository(db));
 }
Пример #2
0
 public CraftService(
     INWScript script,
     IDataContext db,
     IPerkService perk,
     ISkillService skill,
     IColorTokenService color,
     IItemService item,
     INWNXPlayer nwnxPlayer,
     IFoodService food,
     IRandomService random,
     IDurabilityService durability,
     IErrorService error)
 {
     _           = script;
     _db         = db;
     _perk       = perk;
     _skill      = skill;
     _color      = color;
     _item       = item;
     _nwnxPlayer = nwnxPlayer;
     _food       = food;
     _random     = random;
     _durability = durability;
     _error      = error;
 }
Пример #3
0
 public ManagerController(IReportingStaffService reportingStaff, ISkillService skillService, ISkillRatingService skillRatingService, IEmployeeServices employeeServices)
 {
     _reportingStaff     = reportingStaff;
     _skillService       = skillService;
     _skillRatingService = skillRatingService;
     _employeeServices   = employeeServices;
 }
Пример #4
0
 public TrainingCoursesController()
 {
     _TrainingCourseService = new TrainingCourseService(new TrainingCourseRepository(db));
     _employeeService       = new EmployeeService(new EmployeeRepository(db));
     _SkillService          = new SkillService(new SkillRepository(db));
     _CheckUpReportService  = new CheckUpReportService(new CheckUpReportRepository(db));
 }
 public SkillController(
     ISkillService skillService,
     IEmployeeDetailService employeeDetailService)
 {
     _skillService          = skillService;
     _employeeDetailService = employeeDetailService;
 }
        /// <summary>
        ///
        /// </summary>
        public BoundaryTest()
        {
            _skill = new Skill
            {
                SkillName            = ".Net core 3.1",
                SkillCategory        = SkillCategory.DotNet,
                SkillLevel           = SkillLevel.Intermediate,
                SkillType            = SkillType.Programming,
                SkillTotalExperiance = 1
            };

            _user = new User
            {
                FirstName = "Dnyati",
                LastName  = "Dube",
                Email     = "*****@*****.**",
                Mobile    = 9685744263,
            };

            MongoDBUtility   = new MongoDBUtility();
            context          = MongoDBUtility.MongoDBContext;
            _userRepository  = new UserRepository(context);
            _skillRepository = new SkillRepository(context);

            _userService  = new UserService(_userRepository);
            _skillService = new SkillService(_skillRepository);
            config        = new ConfigurationBuilder().AddJsonFile("appsettings.test.json").Build();
        }
Пример #7
0
 public ContactSkillValidation(IContactService contactService, ISkillService skillService, IContactSkillService contactSkillService, IUserService userService)
 {
     _contactService      = contactService;
     _skillService        = skillService;
     _contactSkillService = contactSkillService;
     _userService         = userService;
 }
Пример #8
0
 public IndexModel(IMapper mapper, ISkillService <Skill> skillService, IAdminService <Admin> adminService, IConfiguration configuration)
 {
     _mapper        = mapper;
     _skillService  = skillService;
     _adminService  = adminService;
     _configuration = configuration;
 }
Пример #9
0
        public ApiUpdaterService(ILogger <ApiUpdaterService> logger,
                                 IPlayerService playerService,
                                 IPlayerRepository playerRepository,
                                 ICharacterRepository characterRepository,
                                 ICharacterService characterService,
                                 ISkillRepository skillRepository,
                                 ISkillService skillService,
                                 ICraftableService craftableService,
                                 ICraftableRepository craftableRepository,
                                 IBondService bondService,
                                 IBondRepository bondRepository,
                                 ICharacterSkillService characterSkillService,
                                 ICharacterSkillRepository characterSkillRepository)
        {
            _logger = logger;

            _playerService       = playerService;
            _playerRepository    = playerRepository;
            _characterService    = characterService;
            _characterRepository = characterRepository;
            _skillService        = skillService;
            _skillRepository     = skillRepository;
            _itemService         = craftableService;
            _itemRepository      = craftableRepository;
            _bondRepository      = bondRepository;
            _bondService         = bondService;
            _charSkillService    = characterSkillService;
            _charSkillRepository = characterSkillRepository;
        }
Пример #10
0
 public CharacterService(ICharacterRepository charRepo, IUserService userService, ISkillService skillService, IAspectService aspectService)
 {
     _charRepo = charRepo;
     _userService = userService;
     _skillService = skillService;
     _aspectService = aspectService;
 }
Пример #11
0
        public Model(IHtmlParser htmlParser, ITrainingAndTestingService trainingAndTestingService,
                     ICompanyService companyService, IJobService jobService,
                     ICompanyJobPairService companyJobPairService, ISkillService skillService,
                     IKmeansService kMeansService, ISupportVectorMachineService supportVectorMachineService, IRandomForestService randomForestService)
        {
            //Initialise properties
            _personCustomXmlService = new CustomXmlService <Person>();
            _parser = htmlParser;
            _trainingAndTestingService = trainingAndTestingService;
            _companyJobPairService     = companyJobPairService;
            _jobService     = jobService;
            _companyService = companyService;
            _kMeansService  = kMeansService;
            _supportVectorMachineService = supportVectorMachineService;
            _randomForestService         = randomForestService;
            _skillService = skillService;


            //Parse data from files
            _trainingPeople = ParseTrainingPeopleTopJobFromXml();
            //_personCustomXmlService.WriteToFile(_people, @"C:\Users\Niall\5th Year\Thesis\XML\AllPeopleUpdated.xml");
            //var x = _skillService.GenerateSkillStats(_people);
            //var skills = _skillService.ParseSkillStatsWithCountAtLeastTenFromXml();
            //_skillService.WriteSkillStatsWithCountOfAtLeastTenToXmlFile(skills);
            //_kMeansService.Perform(2, _people, skills);
            _testingPeople   = ParseTestingPeopleTopJobFromXml();
            _companyJobPairs = _companyJobPairService.ParseTopCompanyJobPairsFromXml();
            _topJobStats     = _jobService.ParseTopJobStatsFromXml();
            _topCompanyStats = _companyService.ParseTopCompanyStatsFromXml();
            _topSkillStats   = _skillService.ParseTopSkillStatsFromXml();

            UpdatePerformanceStats(_randomForestSize, _skillSetSize, _jobName);

            //_trainingAndTestingService.CreateTrainingAndTestingSetBasedOnSingleJob(_jobService.ParseJobStatsFromXml());
        }
Пример #12
0
 public HeroSheetModel(IPageRenderer pageRenderer, ICoreLogic coreLogic, IConfiguration configuration,
                       ISkillService skillService, IMajorService majorService) : base(pageRenderer, majorService)
 {
     _coreLogic     = coreLogic;
     _configuration = configuration;
     _skillService  = skillService;
 }
 public EmployeeDetailService(
     IDepartmentService departmentService,
     ISectionService sectionService,
     IShiftService shiftService,
     IJobPositionService jobPositionService,
     IJobFunctionService jobFunctionService,
     IEmployeeLevelService levelService,
     IRouteService routeService,
     IBusStationService busStationService,
     ISkillGroupService skillGroupService,
     ISkillTypeService skillTypeService,
     ISkillService skillService)
 {
     _departmentService  = departmentService;
     _sectionService     = sectionService;
     _shiftService       = shiftService;
     _jobPositionService = jobPositionService;
     _jobFunctionService = jobFunctionService;
     _levelService       = levelService;
     _routeService       = routeService;
     _busStationService  = busStationService;
     _skillGroupService  = skillGroupService;
     _skillTypeService   = skillTypeService;
     _skillService       = skillService;
 }
Пример #14
0
 public SkillController(ISkillService skillService,
                        ISkillValidation skillValidation,
                        ILogger <Skill> logger,
                        IHttpContextAccessor httpContextAccessor) :
     base(skillService, skillValidation, logger, httpContextAccessor, "skill")
 {
 }
Пример #15
0
        public VacancyRegisterViewModel(INavigation navigation, IRequestService requestService, Team team, int vacancyId)
        {
            _vacancyId  = vacancyId;
            _navigation = navigation;
            Team        = team;
            if (AppSettings.ApiStatus)
            {
                _vacancyService = new VacancyService(requestService);
                _roleService    = new RoleService(requestService);
                _skillService   = new SkillService(requestService);
                _genderService  = new GenderService(requestService);
            }
            else
            {
                _vacancyService = new FakeVacancyService();
                _roleService    = new FakeRoleService();
                _genderService  = new FakeGenderService();
            }

            RoleTypes = new ObservableCollection <MultiSelectObservableGroupCollection <RoleType, Role> >();
            Genders   = new MultiSelectObservableCollection <Gender>();
            Skills    = new ObservableCollection <Skill>();

            Task.Run(async() =>
            {
                await LoadRoles();
                await LoadGenders();
            });
            Task.Run(() => LoadVacancy());
        }
Пример #16
0
 public CraftCreateItem(
     INWScript script,
     IDataService data,
     IErrorService error,
     ICraftService craft,
     IComponentBonusService componentBonus,
     IBiowareXP2 biowareXP2,
     IColorTokenService color,
     IBaseService @base,
     ISkillService skill,
     IRandomService random,
     IPlayerStatService playerStat,
     IDurabilityService durability,
     IPerkService perk)
 {
     _               = script;
     _data           = data;
     _error          = error;
     _craft          = craft;
     _componentBonus = componentBonus;
     _biowareXP2     = biowareXP2;
     _color          = color;
     _base           = @base;
     _skill          = skill;
     _random         = random;
     _playerStat     = playerStat;
     _durability     = durability;
     _perk           = perk;
 }
Пример #17
0
 public AccountController(IUserService userService, IProfileService profileService, IFieldService fieldService, ISkillService skillService)
 {
     _userService    = userService;
     _profileService = profileService;
     _fieldService   = fieldService;
     _skillService   = skillService;
 }
        /// <summary>
        /// To delete a skill
        /// </summary>
        /// <param name="id">SkillId</param>
        public void Delete(string id)
        {
            ISkillService <Skill> jobSeekerService = ServiceFactory.GetSkill();
            var jobSeeker = jobSeekerService.GetById(id);

            jobSeekerService.Delete(jobSeeker);
        }
Пример #19
0
 public OnModuleEnter(
     INWScript script,
     IPlayerService player,
     ISkillService skill,
     IQuestService quest,
     IActivityLoggingService activityLogging,
     IMapPinService mapPin,
     IObjectVisibilityService objectVisibility,
     ICustomEffectService customEffect,
     IChatTextService chatText,
     IPlayerValidationService playerValidation,
     IDataService data,
     IRaceService race,
     IPlayerMigrationService migration)
 {
     _                 = script;
     _player           = player;
     _skill            = skill;
     _quest            = quest;
     _activityLogging  = activityLogging;
     _mapPin           = mapPin;
     _objectVisibility = objectVisibility;
     _customEffect     = customEffect;
     _chatText         = chatText;
     _playerValidation = playerValidation;
     _data             = data;
     _race             = race;
     _migration        = migration;
 }
Пример #20
0
        public InfraController(
            ISkillRepository skillRepository,
            ISkillService skillService,
            IUserService userService,
            IUserRepository userRepository,
            IUserSkillRepository userSkillRepository,
            IJobService jobService,
            IJobRepository jobRepository,
            IJobSkillRepository jobSkillRepository,
            IJobApplicantRepository jobApplicantRepository,
            IJobApplicantService jobApplicantService
            )
        {
            _random = new Random();

            _skillRepository = skillRepository;
            _skillService    = skillService;

            _userSkillRepository = userSkillRepository;
            _userRepository      = userRepository;
            _userService         = userService;

            _jobSkillRepository = jobSkillRepository;
            _jobRepository      = jobRepository;
            _jobService         = jobService;

            _jobApplicantRepository = jobApplicantRepository;
            _jobApplicantService    = jobApplicantService;
        }
Пример #21
0
        public UserInterface(IRegistrationService registrationService,
                             IAuthorisationService authorizationService,

                             IMaterialInputService materialInputService,
                             ICourseInputService courseInputService,
                             ISkillInputService skillInputService,
                             IUserInfoInputService userInfoInputService,

                             IMaterialService materialService,
                             ICourseService courseService,
                             ISkillService skillService,

                             EducationPortalContext context,
                             Session session)
        {
            this.registrationService  = registrationService;
            this.authorizationService = authorizationService;

            this.materialService = materialService;
            this.courseService   = courseService;
            this.skillService    = skillService;

            this.materialInputService = materialInputService;
            this.courseInputService   = courseInputService;
            this.skillInputService    = skillInputService;
            this.userInfoInputService = userInfoInputService;

            this.context = context;
            this.session = session;
        }
Пример #22
0
 public UserController(ILogger <UserController> logger, IUserService userService, ISkillService skillService, IMapper mapper)
 {
     this.logger       = logger;
     this.userService  = userService;
     this.skillService = skillService;
     this.mapper       = mapper;
 }
Пример #23
0
        public BusinessLogicTest()
        {
            MongoDBUtility mongoDBUtility = new MongoDBUtility();

            context = mongoDBUtility.MongoDBContext;

            _userRepository  = new UserRepository(context);
            _skillRepository = new SkillRepository(context);

            _userService  = new UserService(_userRepository);
            _skillService = new SkillService(_skillRepository);
            _skill        = new Skill
            {
                SkillName            = ".Net core 3.1",
                SkillCategory        = SkillCategory.DotNet,
                SkillLevel           = SkillLevel.Intermediate,
                SkillType            = SkillType.Programming,
                SkillTotalExperiance = 1
            };

            _user = new User
            {
                FirstName = "anvi",
                LastName  = "patil",
                Email     = "*****@*****.**",
                Mobile    = 1236548978,
                MapSkills = 2
            };
            config = new ConfigurationBuilder().AddJsonFile("appsettings.test.json").Build();
        }
Пример #24
0
 public HrService(
     IStudentService studentService, IResumeService resumeService, IUserInfoService userInfoService,
     IStreamService streamService, ISummaryService summaryService,
     ISkillService skillService, IForeignLanguageService languageService, IEducationService educationService,
     ICourseService courseService, ICertificateService certificateService, IExamService examService,
     IWorkExperienceService workExperienceService, IPortfolioService portfolioService, IMilitaryStatusService militaryStatusService,
     IRecommendationService recommendationService, IAdditionalInfoService additionalInfoService
     )
 {
     _userInfoService       = userInfoService;
     _studentService        = studentService;
     _resumeService         = resumeService;
     _streamService         = streamService;
     _summaryService        = summaryService;
     _skillService          = skillService;
     _languageService       = languageService;
     _educationService      = educationService;
     _courseService         = courseService;
     _certificateService    = certificateService;
     _examService           = examService;
     _workExperienceService = workExperienceService;
     _portfolioService      = portfolioService;
     _militaryStatusService = militaryStatusService;
     _additionalInfoService = additionalInfoService;
     _recommendationService = recommendationService;
 }
Пример #25
0
 public OnAreaExit(
     ISkillService skill,
     IMapService map)
 {
     _skill = skill;
     _map   = map;
 }
Пример #26
0
 public SkillsController(ISkillService mapperSkill, ISkillRepository skillRepository, IPessoaRepository pessoaRepository, ITipoSkillRepository tipoSkillRepository)
 {
     _mapperSkill         = mapperSkill;
     _skillRepository     = skillRepository;
     _pessoaRepository    = pessoaRepository;
     _tipoSkillRepository = tipoSkillRepository;
 }
Пример #27
0
 public SkillController(ISkillService skillService, ILogger <SkillController> logger, IHttpContextAccessor accessor)
 {
     this.skillService = skillService;
     this.logger       = logger;
     this.accessor     = accessor;
     this.userName     = this.accessor.HttpContext.User.Identity.Name;
 }
Пример #28
0
 public HasSkillRank(
     INWScript script,
     ISkillService skill)
 {
     _      = script;
     _skill = skill;
 }
Пример #29
0
 public SkillController(
     ISkillService skillService,
     ILoggingService loggingService)
 {
     _skillService   = skillService;
     _loggingService = loggingService;
 }
Пример #30
0
 public MonsterMenuService(IUserRepository userRepository, ICombatService combatService, ISpawnedMonsterRepository spawnedMonsterRepository, ISlackWebApi slack, ISkillService skillService)
 {
     _userRepository           = userRepository;
     _combatService            = combatService;
     _spawnedMonsterRepository = spawnedMonsterRepository;
     _slack        = slack;
     _skillService = skillService;
 }
 public ProfileController(IProfileService pService, IUserService uService, ISkillAreaService sService, ISkillService skill, ISkillTypeService type)
 {
     this._skillAreaService = sService;
     this._profileService = pService;
     this._userService = uService;
     this._skillService = skill;
     this._skillTypeService = type;
 }
 public EmployeeController(IEmployeeService employeeService, INamePrefixService namePrefixService, ILocationService locationService, IDepartmentService departmentService, ISkillService skillService)
 {
     _employeeService = employeeService;
     _namePrefixService = namePrefixService;
     _locationService = locationService;
     _departmentService = departmentService;
     _skillService = skillService;
 }
Пример #33
0
 public XPTome(
     INWScript script,
     IDialogService dialog,
     ISkillService skill)
     : base(script, dialog)
 {
     _skill = skill;
 }
 public JsonController(
     IUserService userService, 
     ISkillService skillService, 
     ITaskService subTaskService, 
     IProjectService projectService, 
     IMessageService messageService)
     : base(userService)
 {
     this.skillService = skillService;
     this.subTaskService = subTaskService;
     this.projectService = projectService;
     this.messageService = messageService;
 }
 public UsersController(IUserService userService, ISkillService skillService, IImageService imageService)
     : base(userService)
 {
     this.skillService = skillService;
     this.imageService = imageService;
 }
 public JsonController(IUserService userService, ISkillService skillService)
     : base(userService)
 {
     this.skillService = skillService;
 }
Пример #37
0
 public SkillsController(ISkillService skillService)
 {
     this.skillService = skillService;
 }
Пример #38
0
 public HomeController(ISkillService skillService)
 {
     this.skillService = skillService;
     //skillService.Import();
 }
Пример #39
0
 public SkillController(IProfileService profileService, ISkillService skillService, IMasteryService masteryService)
 {
     ProfileService = profileService;
     SkillService = skillService;
     MasteryService = masteryService;
 }
Пример #40
0
 public SkillController(ISkillService skillService)
 {
     _skillService = skillService;
 }
Пример #41
0
 public IndexViewModel(ISkillService skillService)
 {
     this.skillService = skillService;
     Skills = skillService.Get().OrderBy(o => o.ParentSkillID);
 }
 public void Init()
 {
     this.skills = new SkillService(new DbContext("test"), new RepositoryMock<Skill, int>());
 }