예제 #1
0
        static void Main(string[] args)
        {
            CalculatorReplLoop loop = new CalculatorReplLoop();

            //loop.OutputService = new MsgBoxOutputService();
            loop.Run();
        }
예제 #2
0
        static void Main(string[] args)
        {
            ICalculatorReplLoop loop = new CalculatorReplLoop(
                new CommandInputParserService(),
                new Calculator(),
                new InputService(),
                new ConsoleOutputService());

            loop.Run();
        }
예제 #3
0
        static void Main(string[] args)
        {
            CalculatorReplLoop loop = new CalculatorReplLoop();

            loop.Run();
        }
예제 #4
0
 static void Main(string[] args)
 {
     CalculatorReplLoop loop = new CalculatorReplLoop();
     loop.OutputService = new MessageBoxOutputService();
     loop.Run();
 }