public InstructorAssignment(Instructor teacher, SubjectDelivery subject) { Instructor = teacher as Teacher; Subject = subject; Role = InstructorAssignmentRole.All; }
public SubjectDelivery AddSubjectDelivery(String name, string description, CourseDelivery courseDelivery) { if (this.Subjects.Select(s => s.Name).Contains(name, StringComparer.OrdinalIgnoreCase)) { throw new InvalidOperationException("Subject with the same name already exists"); } var subject = new SubjectDelivery(name, description, courseDelivery); Subjects.Add(subject); return(subject); }
public InstructorAssignment CreateAssignment(Instructor teacher, SubjectDelivery subjectDelivery, InstructorAssignmentRole role) { var result = new InstructorAssignment(teacher, subjectDelivery, role); return result; }
public AssessmentEvent(AssessmentType type, string location, SubjectDelivery subject, DateTime startDate, DateTime endDate) : this(type, location, subject) { TimePeriod = new TimePeriod(startDate, endDate); }
public AssessmentEvent(AssessmentType type, string location, SubjectDelivery subject, DateTime briefingDate) : this(type, location, subject) { BriefingDate = briefingDate; }
public AssessmentEvent(AssessmentType type, string location, SubjectDelivery subject) { Type = type; Location = location; Subject = subject; }
public InstructorAssignment(Instructor teacher, SubjectDelivery subject, InstructorAssignmentRole role) : this(teacher, subject) { Role = role; }
public InstructorAssignment CreateAssignment(Instructor teacher, SubjectDelivery subjectDelivery, InstructorAssignmentRole role) { var result = new InstructorAssignment(teacher, subjectDelivery, role); return(result); }
public SubjectDelivery AddSubjectDelivery(String name, string description, CourseDelivery courseDelivery) { if (this.Subjects.Select(s => s.Name).Contains(name, StringComparer.OrdinalIgnoreCase)) { throw new InvalidOperationException("Subject with the same name already exists"); } var subject = new SubjectDelivery(name, description, courseDelivery); Subjects.Add(subject); return subject; }