Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 public ExchangeRateCommand(
     IExchangeRateMessageValidator exchangeMessageValidator,
     IExchangeRateHandler exchangeRateHandler,
     IChatMessageSender chatMessageSender)
 {
     _exchangeMessageValidator = exchangeMessageValidator;
     _exchangeRateHandler      = exchangeRateHandler;
     _chatMessageSender        = chatMessageSender;
 }