Ejemplo 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);
 }
Ejemplo 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;
 }
Ejemplo 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);
 }
Ejemplo 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;
 }