public App(ILog logger, IFileWriter dataWriter, IDataHandler dataHandler, IExchangeRateHandler exchangeRateHandler, IRepository repo) { this.logger = logger; this.fileWriter = dataWriter; this.dataHandler = dataHandler; this.exchangeRateHandler = exchangeRateHandler; this.repo = repo; }
public ExchangeRateCommand( IExchangeRateMessageValidator exchangeMessageValidator, IExchangeRateHandler exchangeRateHandler, IChatMessageSender chatMessageSender) { _exchangeMessageValidator = exchangeMessageValidator; _exchangeRateHandler = exchangeRateHandler; _chatMessageSender = chatMessageSender; }