예제 #1
0
 public override void Deposit(decimal amount)
 {
     _original.Deposit(amount);
     _original.Withdraw((decimal)Commission * amount);
 }
예제 #2
0
 public bool Withdraw(decimal amount)
 {
     return(account.Withdraw(amount));
 }
예제 #3
0
        public override void Withdraw(decimal amount)
        {
            _original.Withdraw(amount);

            Logger.WriteLine("{0}: Withdraw {1}", AccountNumber, amount);
        }