Exemplo n.º 1
0
 public bool IsBasicSkillsLearner(ILARSAnnualValue monitor) =>
 monitor.BasicSkillsType.HasValue &&
 LARSConstants.BasicSkills.EnglishAndMathsList.Contains(monitor.BasicSkillsType.Value);
 public bool IsEnglishOrMathBasicSkill(ILARSAnnualValue theValue) =>
 LARSConstants.BasicSkills.EnglishAndMathsList.Contains(theValue.BasicSkillsType.Value);
 public bool IsValueCurrent(ILearningDelivery theDelivery, ILARSAnnualValue theValue) =>
 _larsData.IsCurrentAndNotWithdrawn(theValue, theDelivery.LearnStartDate);
 public bool HasABasicSkillType(ILARSAnnualValue theValue) =>
 theValue.BasicSkillsType.HasValue;
Exemplo n.º 5
0
 /// <summary>
 /// Determines whether [is basic skills learner] [the specified monitor].
 /// </summary>
 /// <param name="monitor">The monitor.</param>
 /// <returns>
 ///   <c>true</c> if [is basic skills learner] [the specified monitor]; otherwise, <c>false</c>.
 /// </returns>
 public bool IsBasicSkillsLearner(ILARSAnnualValue monitor) =>
 TypeOfLARSBasicSkill.AsEnglishAndMathsBasicSkills.Contains(monitor.BasicSkillsType.Value);
 /// <summary>
 /// Determines whether [is basic skills learner] [the specified monitor].
 /// </summary>
 /// <param name="monitor">The monitor.</param>
 /// <returns>
 ///   <c>true</c> if [is basic skills learner] [the specified monitor]; otherwise, <c>false</c>.
 /// </returns>
 public bool IsBasicSkillsLearner(ILARSAnnualValue monitor) =>
 It.IsInRange(monitor.BasicSkillsType, TypeOfLARSBasicSkill.AsEnglishAndMathsBasicSkills);
 /// <summary>
 /// Determines whether [is esol basic skills learner] [the specified monitor].
 /// </summary>
 /// <param name="monitor">The monitor.</param>
 /// <returns>
 ///   <c>true</c> if [is esol basic skills learner] [the specified monitor]; otherwise, <c>false</c>.
 /// </returns>
 public bool IsESOLBasicSkillsLearner(ILARSAnnualValue monitor) =>
 It.IsInRange(monitor.BasicSkillsType, TypeOfLARSBasicSkill.AsESOLBasicSkills);
Exemplo n.º 8
0
 public bool IsEnglishOrMathBasicSkill(ILARSAnnualValue theValue) =>
 _basicSkillsList.Contains(theValue.BasicSkillsType.Value);