public LogInToExchange(IUserService userService, IConsoleWriter consoleWriter, IInputReader inputReader, IValidateInput validateInput, IMenu mainMenu, IShowUser showUser) { _userService = userService; _consoleWriter = consoleWriter; _inputReader = inputReader; _validateInput = validateInput; _mainMenu = mainMenu; _showUser = showUser; }
public AccountOperations(IConsoleWriter consoleWriter, IInputReader inputReader, IValidateInput validateInput, IShowUser showUser, IExchangeRatesProvider exchangeRatesProvider, ITransactionService transactionService) { _consoleWriter = consoleWriter; _validateInput = validateInput; _showUser = showUser; _exchangeRatesProvider = exchangeRatesProvider; _transactionService = transactionService; _inputReader = inputReader; }
public MainMenu(IConsoleWriter consoleWriter, IInputReader inputReader, ICryptocurrencyExchange cryptocurrencyExchange, IAccountOperations accountOperations, IShowUser showUser) { _consoleWriter = consoleWriter; _inputReader = inputReader; _cryptocurrencyExchange = cryptocurrencyExchange; _accountOperations = accountOperations; _showUser = showUser; AddOptions(); }