public void SetKnowledge(Knowledge knowledge_)
 {
     Knowledge = new Knowledge(knowledge_.level);
 }
 public Student(string name_, Knowledge knowledge_)
     : base(name_)
 {
     Knowledge = new Knowledge(knowledge_.level);
 }
示例#3
0
 public virtual void AddStudent(Student student_)
 {
     Students.Add(student_);
     student_.educationPlace = this;
     MidleLevelKnowledge     = new Knowledge(Students.Average(student => student.Knowledge.level));
 }
 public Student(string name_)
     : base(name_)
 {
     Knowledge = new Knowledge(0);
 }
示例#5
0
 public EducationPlace(string name_)
 {
     name = name_;
     MidleLevelKnowledge = new Knowledge(0);
     Students            = new List <Student>();
 }