Beispiel #1
0
 // This constructor will create new state taking values from old state
 public NoCashState(ATMState state)
     : this(state.DummyCashPresent, state.ATM)
 {
 }
Beispiel #2
0
 // This constructor will create new state taking values from old state
 public NoCashState(ATMState state)
     : this(state.DummyCashPresent, state.ATM)
 {
 }
Beispiel #3
0
 // This constructor will create new state taking values from old state
 public CashWithdrawnState(ATMState state)
     : this(state.DummyCashPresent, state.ATM)
 {
 }
Beispiel #4
0
 // This constructor will create new state taking values from old state
 public CashWithdrawnState(ATMState state)
     : this(state.DummyCashPresent, state.ATM)
 {
 }
Beispiel #5
0
 // This constructor will create new state taking values from old state
 public CardValidatedState(ATMState state)
     : this(state.DummyCashPresent, state.ATM)
 {
 }
Beispiel #6
0
 // This constructor will create new state taking values from old state
 public CardValidatedState(ATMState state)
     : this(state.DummyCashPresent, state.ATM)
 {
 }