예제 #1
0
 public ATMInvoke(CheckBalanceCommand checkBalanceCommand, DepositCommand depositCommand, 
     WithDrawCommand withDrawCommand, ChargeCommand chargeCommand)
 {
     this.checkBalanceCommand = checkBalanceCommand;
     this.depositCommand = depositCommand;
     this.withDrawCommand = withDrawCommand;
     this.chargeCommand = chargeCommand;
 }
예제 #2
0
 public ATMInvoke(CheckBalanceCommand checkBalanceCommand, DepositCommand depositCommand,
                  WithDrawCommand withDrawCommand, ChargeCommand chargeCommand)
 {
     this.checkBalanceCommand = checkBalanceCommand;
     this.depositCommand      = depositCommand;
     this.withDrawCommand     = withDrawCommand;
     this.chargeCommand       = chargeCommand;
 }