Ejemplo n.º 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));
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 3
0
 public ManagerController(IReportingStaffService reportingStaff, ISkillService skillService, ISkillRatingService skillRatingService, IEmployeeServices employeeServices)
 {
     _reportingStaff     = reportingStaff;
     _skillService       = skillService;
     _skillRatingService = skillRatingService;
     _employeeServices   = employeeServices;
 }
Ejemplo n.º 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();
        }
Ejemplo n.º 7
0
 public ContactSkillValidation(IContactService contactService, ISkillService skillService, IContactSkillService contactSkillService, IUserService userService)
 {
     _contactService      = contactService;
     _skillService        = skillService;
     _contactSkillService = contactSkillService;
     _userService         = userService;
 }
Ejemplo n.º 8
0
 public IndexModel(IMapper mapper, ISkillService <Skill> skillService, IAdminService <Admin> adminService, IConfiguration configuration)
 {
     _mapper        = mapper;
     _skillService  = skillService;
     _adminService  = adminService;
     _configuration = configuration;
 }
Ejemplo n.º 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;
        }
Ejemplo n.º 10
0
 public CharacterService(ICharacterRepository charRepo, IUserService userService, ISkillService skillService, IAspectService aspectService)
 {
     _charRepo = charRepo;
     _userService = userService;
     _skillService = skillService;
     _aspectService = aspectService;
 }
Ejemplo n.º 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());
        }
Ejemplo n.º 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;
 }
Ejemplo n.º 14
0
 public SkillController(ISkillService skillService,
                        ISkillValidation skillValidation,
                        ILogger <Skill> logger,
                        IHttpContextAccessor httpContextAccessor) :
     base(skillService, skillValidation, logger, httpContextAccessor, "skill")
 {
 }
Ejemplo n.º 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());
        }
Ejemplo n.º 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;
 }
Ejemplo n.º 17
0
 public AccountController(IUserService userService, IProfileService profileService, IFieldService fieldService, ISkillService skillService)
 {
     _userService    = userService;
     _profileService = profileService;
     _fieldService   = fieldService;
     _skillService   = skillService;
 }
Ejemplo n.º 18
0
        /// <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);
        }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
        }
Ejemplo n.º 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;
        }
Ejemplo n.º 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;
 }
Ejemplo n.º 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();
        }
Ejemplo n.º 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;
 }
Ejemplo n.º 25
0
 public OnAreaExit(
     ISkillService skill,
     IMapService map)
 {
     _skill = skill;
     _map   = map;
 }
Ejemplo n.º 26
0
 public SkillsController(ISkillService mapperSkill, ISkillRepository skillRepository, IPessoaRepository pessoaRepository, ITipoSkillRepository tipoSkillRepository)
 {
     _mapperSkill         = mapperSkill;
     _skillRepository     = skillRepository;
     _pessoaRepository    = pessoaRepository;
     _tipoSkillRepository = tipoSkillRepository;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 28
0
 public HasSkillRank(
     INWScript script,
     ISkillService skill)
 {
     _      = script;
     _skill = skill;
 }
Ejemplo n.º 29
0
 public SkillController(
     ISkillService skillService,
     ILoggingService loggingService)
 {
     _skillService   = skillService;
     _loggingService = loggingService;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 37
0
 public SkillsController(ISkillService skillService)
 {
     this.skillService = skillService;
 }
Ejemplo n.º 38
0
 public HomeController(ISkillService skillService)
 {
     this.skillService = skillService;
     //skillService.Import();
 }
Ejemplo n.º 39
0
 public SkillController(IProfileService profileService, ISkillService skillService, IMasteryService masteryService)
 {
     ProfileService = profileService;
     SkillService = skillService;
     MasteryService = masteryService;
 }
Ejemplo n.º 40
0
 public SkillController(ISkillService skillService)
 {
     _skillService = skillService;
 }
Ejemplo n.º 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>());
 }