예제 #1
0
 public void AddDiscipline(Discipline disc)
 {
     disciplines.Add(disc);
 }
예제 #2
0
 public void RemoveDiscipline(Discipline disc)
 {
     disciplines.Remove(disc);
 }
예제 #3
0
 public Teacher(string firstName, string secondName, Discipline disc, string comment)
     : base(firstName, secondName)
 {
     disciplines = new List<Discipline>();
     disciplines.Add(disc);
     commentOnTeacher = comment;
 }
예제 #4
0
 public Teacher(string firstName, string secondName, Discipline disc)
     : base(firstName, secondName)
 {
     disciplines = new List<Discipline>();
     disciplines.Add(disc);
 }
예제 #5
0
 public void RemoveDiscipline(Discipline disc)
 {
     disciplines.Remove(disc);
 }
예제 #6
0
 public void AddDiscipline(Discipline disc)
 {
     disciplines.Add(disc);
 }
예제 #7
0
 public Teacher(string firstName, string secondName, Discipline disc)
     : base(firstName, secondName)
 {
     disciplines = new List <Discipline>();
     disciplines.Add(disc);
 }