public Course() { // Defaults CourseCode = "Course000H1"; SubjectName = ""; CreditWeight = 0F; Description = ""; Type = CourseType.None; AU = new CEABAU(); IsFinished = false; IsPinned = false; IsInterested = false; }
public Course(string courseCode, string title, int creditWeight, CEABAU au, CourseType type = CourseType.None, string description = "", string[] prerequisites = null) { // Initialize CourseCode = courseCode; SubjectName = title; CreditWeight = creditWeight; AU = au; Description = description; IsFinished = false; IsPinned = false; IsInterested = false; // Notify NotifyPropertyChanged("Name"); NotifyPropertyChanged("AreaCode"); NotifyPropertyChanged("CourseCode"); }