Ejemplo n.º 1
0
 public CurrencyExchangeUpdateCommand(ExecutorCommands executorCommands, Currency contributedCurrency,
                                      Currency targetCurrency, decimal rate) : base(executorCommands)
 {
     ContributedCurrency = contributedCurrency;
     TargetCurrency      = targetCurrency;
     Rate = rate;
 }
 public ExchangeCommand(ExecutorCommands executorCommands, string name, Currency contributedCurrency,
                        Currency targetCurrency, decimal contributedAmount) : base(executorCommands)
 {
     Name = name;
     ContributedCurrency = contributedCurrency;
     TargetCurrency      = targetCurrency;
     ContributedAmount   = contributedAmount;
 }
Ejemplo n.º 3
0
 protected Command(ExecutorCommands executorCommands)
 {
     _executorCommands = executorCommands;
 }