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