Пример #1
0
 public Doctor(string name, int age, string Specialty, List <DateTime> appointments, int hours, TimeSpan time, DayOfWeek[] WorkDays) : base(name, age)
 {
     Appointments = new List <DateTime>();
     for (int i = 0; i < appointments.Count; i++)
     {
         Appointments.Add(appointments[i]);
     }
     this.Specialty = Specialty;
     Schedule       = new WorkSchedule(hours, time, WorkDays);
 }
Пример #2
0
 public Doctor(string name, int age, string Specialty, List <DateTime> appointments, WorkSchedule graphic) : base(name, age)
 {
     Appointments = new List <DateTime>();
     for (int i = 0; i < appointments.Count; i++)
     {
         Appointments.Add(appointments[i]);
     }
     this.Specialty = Specialty;
     Schedule       = graphic;
 }
Пример #3
0
 public Doctor(string name, int age, string Specialty, int hours, TimeSpan time, DayOfWeek[] WorkDays) : base(name, age)
 {
     Appointments   = new List <DateTime>();
     this.Specialty = Specialty;
     Schedule       = new WorkSchedule(hours, time, WorkDays);
 }
Пример #4
0
 public Doctor(string name, int age, string Specialty, WorkSchedule graphic) : base(name, age)
 {
     Appointments   = new List <DateTime>();
     this.Specialty = Specialty;
     Schedule       = graphic;
 }