Пример #1
0
 public User(string publicKey, List <string> friends, UDirectory dir)
 {
     _publicKey     = publicKey;
     Friends        = friends;
     _userDirectory = dir;
 }
Пример #2
0
 public User(string publicKey, List <string> friends)
 {
     _publicKey     = publicKey;
     Friends        = friends;
     _userDirectory = new UDirectory();
 }
Пример #3
0
 public User(string publicKey)
 {
     _publicKey     = publicKey;
     Friends        = new List <string>();
     _userDirectory = new UDirectory();
 }
Пример #4
0
 public User(string publicKey, UDirectory dir)
 {
     _publicKey     = publicKey;
     Friends        = new List <string>();
     _userDirectory = dir;
 }
Пример #5
0
 public User()
 {
     _publicKey     = GeneratePublicKey();
     Friends        = new List <string>();
     _userDirectory = new UDirectory();
 }