예제 #1
0
파일: User.cs 프로젝트: KaranToor/MiddleOut
 /// <summary>
 /// Adds the Service object to the list of the User's services.
 /// </summary>
 /// <param name="service">The Service object.</param>
 public void addService(Service service)
 {
     myServices.Add(service);
     UserDatabase.updateDatabase();
 }
예제 #2
0
파일: User.cs 프로젝트: KaranToor/MiddleOut
 /// <summary>
 /// Sets the User's stop time.
 /// </summary>
 /// <param name="stop">The User's stop time.</param>
 public void setTimeStop(String stop)
 {
     myTimeStop = stop;
     UserDatabase.updateDatabase();
 }
예제 #3
0
파일: User.cs 프로젝트: KaranToor/MiddleOut
 /// <summary>
 /// Sets the file path for the User's licence photo.
 /// </summary>
 /// <param name="licence">The file path.</param>
 public void setLicenseFilePath(String licence)
 {
     myLicenseFilePath = licence;
     UserDatabase.updateDatabase();
 }
예제 #4
0
파일: User.cs 프로젝트: KaranToor/MiddleOut
 /// <summary>
 /// Sets the User's vehicle capacity.
 /// </summary>
 /// <param name="capacity">The user's vehicle capacity.</param>
 public void setCapacity(String capacity)
 {
     myCapacity = capacity;
     UserDatabase.updateDatabase();
 }
예제 #5
0
파일: User.cs 프로젝트: KaranToor/MiddleOut
 /// <summary>
 /// Sets the User's start time.
 /// </summary>
 /// <param name="start">The User's start time.</param>
 public void setTimeStart(String start)
 {
     myTimeStart = start;
     UserDatabase.updateDatabase();
 }
예제 #6
0
파일: User.cs 프로젝트: KaranToor/MiddleOut
 /// <summary>
 /// Sets the User's vehicle type.
 /// </summary>
 /// <param name="type">The User's vehichle type.</param>
 public void setVehicleType(String type)
 {
     myVehichleType = type;
     UserDatabase.updateDatabase();
 }
예제 #7
0
파일: User.cs 프로젝트: KaranToor/MiddleOut
 /// <summary>
 /// Sets if user is admin.
 /// </summary>
 /// <param name="admin">Boolean value if user is admin or not.</param>
 public void setAdmin(Boolean admin)
 {
     myAdmin = admin;
     UserDatabase.updateDatabase();
 }
예제 #8
0
파일: User.cs 프로젝트: KaranToor/MiddleOut
 /// <summary>
 /// Sets the User's email address.
 /// </summary>
 /// <param name="email">The User's email address.</param>
 public void setEmail(String email)
 {
     myEmail = email;
     UserDatabase.updateDatabase();
 }
예제 #9
0
파일: User.cs 프로젝트: KaranToor/MiddleOut
 /// <summary>
 /// Sets the User's password.
 /// </summary>
 /// <param name="password">The new password.</param>
 public void setPassword(String password)
 {
     myPassword = password;
     UserDatabase.updateDatabase();
 }
예제 #10
0
파일: User.cs 프로젝트: KaranToor/MiddleOut
 /// <summary>
 /// Sets the User's real name.
 /// </summary>
 /// <param name="name">The User's real name</param>
 public void setName(String name)
 {
     myName = name;
     UserDatabase.updateDatabase();
 }