Example #1
0
 /// <summary>
 /// add a borrower to tool's borrowing member collection
 /// </summary>
 /// <param name="aMember"> member who borrows this tool </param>
 public void addBorrower(Member aMember)
 {
     if (availableQuantity > 0)
     {
         toolBorrowers.add(aMember);
         noBorrowings++;
         availableQuantity--;
     }
 }
 /// <summary>
 /// add a member to the system
 /// </summary>
 /// <param name="aMember"> member to add </param>
 public void add(Member aMember)
 {
     members.add(aMember);
 }
 public void addBorrower(Member aMember)
 {
     Borrowing_Tools.add(aMember);
 }
 // add a new memeber to the system
 public void add(Member aMember)
 {
     memberCollection.add(aMember);
 }