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