Esempio n. 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);
 }
Esempio n. 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;
 }
Esempio n. 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);
 }
Esempio n. 4
0
 public Doctor(string name, int age, string Specialty, WorkSchedule graphic) : base(name, age)
 {
     Appointments   = new List <DateTime>();
     this.Specialty = Specialty;
     Schedule       = graphic;
 }