Exemplo n.º 1
0
 public Subject(string name, float min, ObservableCollection <Assignment> exams, ObservableCollection <Demand> demands)
 {
     Name           = name;
     AllAssignments = exams;
     Bonuses        = new ObservableCollection <Bonus>();
     Demands        = demands;
     Min            = min;
     Calculator     = new SubjectCalculator(this);
     Year           = DateTime.Now.Year;
 }
Exemplo n.º 2
0
 public Subject(string name)
 {
     Name           = name;
     AllAssignments = new ObservableCollection <Assignment>();
     Bonuses        = new ObservableCollection <Bonus>();
     Min            = 5.5f;
     Demands        = new ObservableCollection <Demand>();
     Calculator     = new SubjectCalculator(this);
     Year           = DateTime.Now.Year;
 }