public DefaultAssessment(ProblemDataManager problemDataManager, SkillsDataManager skillDataManager, IList <string> skills, IList <string> problems, string challengeProblem) { if (skills.Count != problems.Count) { throw new Exception("Skills Count should Equal Problem Count: Invalid Relationships"); } aggregateGrader = new Grader(problems.Count); foreach (string skill in skills) { if (!dictionary.ContainsKey(skill)) { dictionary.Add(skill, new Grader(countOccurances(skill, skills))); } } this.problemDataManager = problemDataManager; this.skillDataManager = skillDataManager; this.skills = skills; this.problems = problems; this.challengeProblem = challengeProblem; }
public DefaultAssessmentBuilder(ProblemDataManager problemDataManager, SkillsDataManager skillsDataManager) { this.problemDataManager = problemDataManager; this.skillsDataManager = skillsDataManager; }
/* * Create the basic class. **/ public GroupLinkageManager(AssetsDataManager adm, ProblemDataManager pdm) { groupLinks = new Dictionary <string, GroupLinkageRecord>(); this.adm = adm; this.pdm = pdm; }