Exemplo n.º 1
0
 public ClassesTable(ClassesSchedule schedule, YearOfStudy yearOfStudy)
 {
     _schedule   = schedule;
     YearOfStudy = yearOfStudy;
     SetGroups();
     CreateTable();
 }
Exemplo n.º 2
0
        public ClassesTable GetClassesTable(YearOfStudy year)
        {
            var index = YearsOfStudy.IndexOf(year);

            return(Tables[index]);
        }
Exemplo n.º 3
0
 public void RemoveYearOfStudy(YearOfStudy year)
 {
     YearsOfStudy.Remove(year);
     Tables.Remove((from t in Tables where t.YearOfStudy == year select t).First());
 }
Exemplo n.º 4
0
 public void AddYearOfStudy(YearOfStudy year)
 {
     YearsOfStudy.Add(year);
     Tables.Add(new ClassesTable(this, year));
 }
Exemplo n.º 5
0
 public sYearOfStudy(YearOfStudy yearOfStudy) : base(yearOfStudy)
 {
 }