Beispiel #1
0
 public Project(string name, Teacher projectTeacher, DateTime startDate, DateTime endDate, QuestionList questionList)
 {
     _name = name;
     _projectTeacher = projectTeacher;
     _startDate = startDate;
     _endDate = endDate;
     _questionList = questionList;
     _projectGroups = new List<ProjectGroup>();
 }
Beispiel #2
0
 //,Mentor mentor
 public Student(int studentNr, string firstName, string lastName, int year, Teacher mentor)
 {
     _studentnr = studentNr;
     _firstName = firstName;
     _lastName = lastName;
     _projects = new List<Models.Project>();
     _projectGroups = new List<Models.ProjectGroup>();
     _year = year;
     _mentor = mentor;
     StudentProjectGroup = new List<StudentProjectGroups>();
 }
Beispiel #3
0
        public ProjectGroup(Project project, string group, Teacher tutor, List<Student> students)
        {
            _project = project;
            _classCode = group;
            _tutor = tutor;
            if(students == null)
                _projectStudents = new List<Student>();
            else
                _projectStudents = students;

            StudentProjectGroup = new List<StudentProjectGroups>();
        }