コード例 #1
0
 public Patient(string name, uint id, string email, Constants.Speciality type)
 {
     this.name  = name;
     this.iD    = id;
     this.email = email;
     this.type  = type;
 }
コード例 #2
0
ファイル: Doctor.cs プロジェクト: dikshuuu/Assignment
 public Doctor(string name, uint id, string email, Constants.Speciality speciality)
 {
     //Inatlizing a new doctor
     this.name             = name;
     this.iD               = id;
     this.email            = email;
     this.type             = speciality;
     this.patientAssigened = new List <uint>();
 }
コード例 #3
0
ファイル: PatientDAL.cs プロジェクト: dikshuuu/Assignment
 public Patient CreatePatient(string name, uint id, string email, Constants.Speciality type)
 {
     return(new Patient(name, id, email, type));
 }
コード例 #4
0
 public Doctor CreateDoctor(string name, uint id, string email, Constants.Speciality speciality)
 {
     return(new Doctor(name, id, email, speciality));
 }