Пример #1
0
        protected override void SkinChanged(ISkinSource skin, bool allowFallback)
        {
            base.SkinChanged(skin, allowFallback);

            skinnedCounter = Drawable as IScoreCounter;
            skinnedCounter?.Current.BindTo(Current);
        }
Пример #2
0
 public VacancyController(IVacancyService vacancyService
                          , IScoreCounter scoreCounter, IMapper mapper
                          , ISkillService skillService)
 {
     _vacancyService = vacancyService;
     _scoreCounter   = scoreCounter;
     _skillService   = skillService;
     _mapper         = mapper;
     _validator      = new VacancyValidator();
 }
Пример #3
0
     /// <summary>
     /// Method sets the object responsible for score counting
     /// </summary>
     /// <param name="scorer">The object of score counter implementing IScoreCounter</param>
 	public void SetScoreCounter(IScoreCounter scorer)
     {
         scoreCounter = scorer;
     }
Пример #4
0
 /// <summary>
 /// Method sets the object responsible for score counting
 /// </summary>
 /// <param name="scorer">The object of score counter implementing IScoreCounter</param>
 public void SetScoreCounter(IScoreCounter scorer)
 {
     scoreCounter = scorer;
 }