protected override void SkinChanged(ISkinSource skin, bool allowFallback) { base.SkinChanged(skin, allowFallback); skinnedCounter = Drawable as IScoreCounter; skinnedCounter?.Current.BindTo(Current); }
public VacancyController(IVacancyService vacancyService , IScoreCounter scoreCounter, IMapper mapper , ISkillService skillService) { _vacancyService = vacancyService; _scoreCounter = scoreCounter; _skillService = skillService; _mapper = mapper; _validator = new VacancyValidator(); }
/// <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; }
/// <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; }