/// <summary> /// Determines whether [is qualifying primary learning aim] [this delivery]. /// </summary> /// <param name="thisDelivery">this delivery.</param> /// <returns> /// <c>true</c> if [is qualifying primary learning aim] [this delivery]; otherwise, <c>false</c>. /// </returns> public bool IsQualifyingPrimaryLearningAim(ILearningDelivery thisDelivery) => It.Has(thisDelivery) && _check.HasQualifyingStart(thisDelivery, DateTime.MinValue, OldCodeMonitoringThresholdDate) && _check.IsTraineeship(thisDelivery) && _check.InAProgramme(thisDelivery);
/// <summary> /// Determines whether [is not valid] [the specified delivery]. /// </summary> /// <param name="delivery">The delivery.</param> /// <returns> /// <c>true</c> if [is not valid] [the specified delivery]; otherwise, <c>false</c>. /// </returns> public bool IsNotValid(ILearningDelivery delivery) => _check.HasQualifyingFunding(delivery, TypeOfFunding.AdultSkills) && !_check.IsSteelWorkerRedundancyTraining(delivery) && !_check.IsTraineeship(delivery) && IsWorkExperience(delivery);
/// <summary> /// Determines whether [is restriction match] [the specified delivery]. /// </summary> /// <param name="delivery">The delivery.</param> /// <returns> /// <c>true</c> if [is restriction match] [the specified delivery]; otherwise, <c>false</c>. /// </returns> public bool IsRestrictionMatch(ILearningDelivery delivery) => _check.IsTraineeship(delivery) && _check.InAProgramme(delivery) && _check.HasQualifyingStart(delivery, NewCodeMonitoringThresholdDate);
/// <summary> /// Determines whether this delivery is excluded. /// </summary> /// <param name="thisDelivery">this delivery.</param> /// <returns> /// <c>true</c> if this delivery is excluded; otherwise, <c>false</c>. /// </returns> public bool IsExcluded(ILearningDelivery thisDelivery) => _check.IsTraineeship(thisDelivery);