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; }
protected Command(ExecutorCommands executorCommands) { _executorCommands = executorCommands; }