Пример #1
0
 // Overloaded constructors
 public SilverState(State state)
     : this(state.Balance, state.Account)
 {
 }
Пример #2
0
 // Overloaded constructors
 public GoldState(State state)
     : this(state.Balance, state.Account)
 {
 }
Пример #3
0
 // Constructor
 public RedState(State state)
 {
     Balance = state.Balance;
     Account = state.Account;
     Initialize();
 }