Пример #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;
 }