示例#1
0
 public void RemoveAttendance(Workshop wks)
 {
     foreach (Attendance a in this.attendances.ToList())
     {
         if (a.Wks.ID == wks.ID)
         {
             attendances.Remove(a);
             return;
         }
     }
     throw new Exception("Workshop haven't been found in this persons attandances.");
 }
示例#2
0
 public Attendance(Workshop wks, string logincode)
 {
     Wks       = wks;
     LoginCode = logincode;
 }
示例#3
0
 public Attendance(Workshop wks, int seatnum)
 {
     Wks        = wks;
     SeatNumber = seatnum;
 }
示例#4
0
 public EnrollmentRequest(Workshop wks, Person p)
 {
     Wks    = wks;
     Person = p;
     Status = "Pending";
 }