Exemplo n.º 1
0
 // Overloaded constructors
 public SilverState(State state)
     : this(state.Balance, state.Account)
 {
 }
Exemplo n.º 2
0
 // Overloaded constructors
 public GoldState(State state)
     : this(state.Balance, state.Account)
 {
 }
Exemplo n.º 3
0
 // Constructor
 public RedState(State state)
 {
     Balance = state.Balance;
     Account = state.Account;
     Initialize();
 }