Beispiel #1
0
 public Student(string name, ISchool schoolEnrolledIn)
 {
     this.Name = name;
     Validator.CheckIfNull <ISchool>(schoolEnrolledIn);
     this.ID = schoolEnrolledIn.GetUniqueStudentID();
 }
Beispiel #2
0
 public Student(string name, ISchool schoolEnrolledIn)
 {
     this.Name = name;
     Validator.CheckIfNull<ISchool>(schoolEnrolledIn);
     this.ID = schoolEnrolledIn.GetUniqueStudentID();
 }