コード例 #1
0
 public CurrencyExchangeUpdateCommand(ExecutorCommands executorCommands, Currency contributedCurrency,
                                      Currency targetCurrency, decimal rate) : base(executorCommands)
 {
     ContributedCurrency = contributedCurrency;
     TargetCurrency      = targetCurrency;
     Rate = rate;
 }
コード例 #2
0
 public ExchangeCommand(ExecutorCommands executorCommands, string name, Currency contributedCurrency,
                        Currency targetCurrency, decimal contributedAmount) : base(executorCommands)
 {
     Name = name;
     ContributedCurrency = contributedCurrency;
     TargetCurrency      = targetCurrency;
     ContributedAmount   = contributedAmount;
 }
コード例 #3
0
 protected Command(ExecutorCommands executorCommands)
 {
     _executorCommands = executorCommands;
 }