Beispiel #1
0
 public Account(string username, string password)
 {
     Username = username;
     Password = password;
     Strategy = new CardMethod();
     State    = new USDState(0);
 }
Beispiel #2
0
 public Account(string username, string password, string email, string phone, double amount)
 {
     State    = new USDState(amount);
     Username = username;
     Password = password;
     Email    = email;
     Phone    = phone;
     Strategy = new CardMethod();
 }