Beispiel #1
0
        public static List <Student> mockStudent()
        {
            Knowledge level1 = new Knowledge(1);
            Knowledge level2 = new Knowledge(2);
            Knowledge level3 = new Knowledge(3);
            Knowledge level4 = new Knowledge(4);
            Knowledge level5 = new Knowledge(5);

            List <Student> students = new List <Student>();

            students.Add(new Student("Andrew Kostenko", level3));
            students.Add(new Student("Julia Veselkina", level4));
            students.Add(new Student("Maria Perechrest", level1));
            students.Add(new Student("Alex", level5));

            return(students);
        }
Beispiel #2
0
 public void SetKnowledge(Knowledge knowledge)
 {
     Knowledge = knowledge.KnowledgeLevel;
 }