Exemplo n.º 1
0
 public Student()
 {
     enducation  = Enducation.Specialist;
     groupNumber = 44;
     exams       = new List <Exam>();
     tests       = new List <Test>();
 }
Exemplo n.º 2
0
 public Student()
 {
     enducation  = Enducation.Specialist;
     groupNumber = 44;
     exams       = new ArrayList();
     tests       = new ArrayList();
 }
Exemplo n.º 3
0
 public Enducation GetEnducation(Enducation enducation)
 {
     if (!string.IsNullOrWhiteSpace(Level))
     {
         enducation.Level = Level;
     }
     if (!string.IsNullOrWhiteSpace(Document))
     {
         enducation.Document = Document;
     }
     if (EndDate.HasValue)
     {
         enducation.EndDate = EndDate.Value;
     }
     if (!string.IsNullOrWhiteSpace(Specialty))
     {
         enducation.Specialty = Specialty;
     }
     if (Excellent.HasValue)
     {
         enducation.Excellent = Excellent.Value;
     }
     if (CountSatisfactoryMarks.HasValue)
     {
         enducation.CountSatisfactoryMarks = CountSatisfactoryMarks.Value;
     }
     return(enducation);
 }
Exemplo n.º 4
0
 public Student()
 {
     enducation  = Enducation.Specialist;
     groupNumber = 44;
     exams       = new List <Exam>();
     tests       = new List <Test>();
     //PropertyChanged += Display;
 }
Exemplo n.º 5
0
 public Student(Person person, Enducation enducation, int groupNumber)
 {
     name             = person.Name;
     surname          = person.Surname;
     birthday         = person.Birthday;
     this.enducation  = enducation;
     this.groupNumber = groupNumber;
     exams            = new List <Exam>();
     tests            = new List <Test>();
 }
Exemplo n.º 6
0
 public bool this[Enducation enducation]
 {
     get
     {
         if (this.enducation == enducation)
         {
             return(true);
         }
         else
         {
             return(false);
         }
     }
 }
Exemplo n.º 7
0
 public Student(Person person, Enducation enducation, int groupNumber)
 {
     this.person      = person;
     this.enducation  = enducation;
     this.groupNumber = groupNumber;
 }
Exemplo n.º 8
0
 public Student()
 {
     person      = new Person();
     enducation  = Enducation.Specialist;
     groupNumber = 44;
 }
 public IEnumerable <KeyValuePair <TKey, Student> > EnducationForm(Enducation value)
 {
     return(dictionary.Where(student => student.Value.Enducation == value));
 }