public CourseOutCompetency(Competency competency, double level)
 {
     //Id = IdHelper.Instance.GetNextId<CourseOutCompetency>();
     Competency = competency;
     if (Competency.IsValid(level))
     {
         Level = level;
     }
     else
     {
         throw new ArgumentException("Cannot match the specified 'level' with the specified 'competency'.");
     }
 }
Example #2
0
 public JobTitleCompetency(Competency competency, double level, double weight)
 {
     //Id = IdHelper.Instance.GetNextId<JobTitleCompetency>();
     Competency = competency;
     if (Competency.IsValid(level))
     {
         Level = level;
     }
     else
     {
         throw new ArgumentException("Cannot match the specified 'level' with the specified 'competency'.");
     }
     Weight = weight;
 }