예제 #1
0
        internal void Greet()
        {
            var greeting = new Greeting(_user.Name);
            var message  = greeting.Message();

            _transfer.Send(message);
        }
예제 #2
0
        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();
        }