예제 #1
0
 public UserClass(ContactInfoClass contactInfo)
 {
     ContactInfo  = contactInfo;
     Login        = "";
     PasswordHash = "";
     Id           = -1;
 }
예제 #2
0
 //ctor for backend
 public UserClass(int id, string login, string passwordHash, List <string> sessions, ContactInfoClass contactInfo = null)
 {
     Id           = id;
     Login        = login;
     PasswordHash = passwordHash;
     ContactInfo  = contactInfo;
 }
예제 #3
0
 public UserClass()
 {
     ContactInfo  = new ContactInfoClass();
     Id           = -1;
     Login        = "";
     PasswordHash = "";
 }
예제 #4
0
 public UserClass(string login, string passwordHash, ContactInfoClass contactInfo = null)
 {
     Login        = login;
     PasswordHash = passwordHash;
     ContactInfo  = contactInfo;
 }