示例#1
0
文件: Users.cs 项目: Meiendorf/Udon
 public void addUser(User user)
 {
     Users.Add(Amount, user);
     Amount++;
     Changed();
 }
示例#2
0
文件: Users.cs 项目: Meiendorf/Udon
 public void addUser(string login, string pass, string email, string accent = "Blue", string theme = "BaseLight", bool msg_not = true, bool pmsg_not = true, bool conn_not = true)
 {
     Users.Add(Amount, new User(login, pass, email, Amount, accent, theme, msg_not, pmsg_not, conn_not));
     Amount++;
     Changed();
 }
示例#3
0
 internal string InsertUserToTheDataBase(User i_NewUser)
 {
     Users.Add(i_NewUser);
     return("200");
 }
示例#4
0
 public void AddUser(UserInfo ui)
 {
     Users.Add(ui);
 }
示例#5
0
 public void AddUser(User user)
 {
     Users.Add(user);
     SaveChanges();
     log.Info($"Added user: {user.Username}|{user.Password}");
 }