internal void Greet() { var greeting = new Greeting(_user.Name); var message = greeting.Message(); _transfer.Send(message); }
public static void Main() { Greeting.Message(); Tester tester = new Tester(); IOManager ioManager = new IOManager(); StudentsRepository repo = new StudentsRepository(new RepositorySorter(), new RepositoryFilter()); CommandInterpreter currentInterpreter = new CommandInterpreter(tester, repo, ioManager); InputReader reader = new InputReader(currentInterpreter); reader.StartReadingCommands(); }