Пример #1
0
 public Person(ContactInformation contactInformation)
 {
     this.contactInformation = contactInformation;
     this.generator = new CalendarGenerator();
     this.calendar = new List<Appointment>();
     this.schedules = new List<Schedule>();
 }
Пример #2
0
 public Data(ContactInformation contactInformation, string patientDoctor, Appointment appointment, Insurance insure)
 {
     this.contactInformation = contactInformation;
     this.doctor = patientDoctor;
     this.appointment = appointment;
     this.insurance = insure;
 }
Пример #3
0
 public Patient(ContactInformation contactInformation, Symptom symptom, Insurance insurance, Doctor preferredDoctor, DateTime preferredDate, TimeSpan preferredTime)
     : base(contactInformation)
 {
     this.symptom = symptom;
     this.insurance = insurance;
     this.preferredDoctor = preferredDoctor;
     this.preferredDate = preferredDate;
     this.preferredTime = preferredTime;
 }
Пример #4
0
 public Doctor(ContactInformation contactInformation)
     : base(contactInformation)
 {
     this.scheduleWriter = new CalendarFileWriter(contactInformation.FirstName + "_" + contactInformation.LastName);
     this.calendar = scheduleWriter.GetCurrentCalendar();
 }