Exemple #1
0
 public LogTemplate(Activities activity, string username, UserRoles userRole)
 {
     this.activity = activity;
     this.username = username;
     this.userRole = userRole;
 }
 public static void AssignUserRole(int userIndex, UserRoles role)
 {
     Logger.LogActivity("Промяна на роля на" + TestUsers[userIndex].username);
     TestUsers[userIndex].role = (int)role;
 }
Exemple #3
0
 static public void AssignUserRole(Int32 index, UserRoles ur)
 {
     testUsers[index].Role = (Int32)ur;
     Logger.LogActivity("Change role of " + testUsers[index].Username);
 }