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