/// <summary>
 /// Determines whether the specified delivery is excluded.
 /// </summary>
 /// <param name="delivery">The delivery.</param>
 /// <returns>
 ///   <c>true</c> if the specified delivery is excluded; otherwise, <c>false</c>.
 /// </returns>
 public bool IsExcluded(ILearningDelivery delivery) =>
 _check.IsRestart(delivery) ||
 _check.IsLearnerInCustody(delivery) ||
 _check.IsSteelWorkerRedundancyTraining(delivery) ||
 _check.InApprenticeship(delivery);
Exemplo n.º 2
0
 /// <summary>
 /// Determines whether the specified delivery is excluded.
 /// </summary>
 /// <param name="delivery">The delivery.</param>
 /// <returns>
 ///   <c>true</c> if the specified delivery is excluded; otherwise, <c>false</c>.
 /// </returns>
 public bool IsExcluded(ILearningDelivery delivery) =>
 _check.IsRestart(delivery) ||
 _check.IsLearnerInCustody(delivery) ||
 _check.IsSteelWorkerRedundancyTraining(delivery) ||
 _check.InApprenticeship(delivery) ||
 IsSpecialistDesignatedCollege();