Ejemplo n.º 1
0
        public static void Main()
        {
            IInputHandler inputHandler = new ConsoleInputHandler();
            var renderer = new ConsoleRenderer();
            BookStoreEngine engine = new BookStoreEngine(renderer,inputHandler);

            engine.Run();
        }
Ejemplo n.º 2
0
        public static void Main()
        {
            IInputHandler   inputHandler = new ConsoleInputHandler();
            var             renderer     = new ConsoleRenderer();
            BookStoreEngine engine       = new BookStoreEngine(renderer, inputHandler);

            engine.Run();
        }
Ejemplo n.º 3
0
        public static void Main()
        {
            IInputHandler consoleHandler = new ConsoleInputHandler();
            IRenderer consoleRenderer = new ConsoleRenderer();
            BookStoreEngine engine = new BookStoreEngine(consoleRenderer, consoleHandler);

            engine.Run();
        }
Ejemplo n.º 4
0
        public static void Main()
        {
            ConsoleInputHandler cih = new ConsoleInputHandler();
            ConsoleRenderer cr = new ConsoleRenderer();

            BookStoreEngine engine = new BookStoreEngine(cr, cih);

            engine.Run();
        }
Ejemplo n.º 5
0
        public static void Main()
        {
            ConsoleRenderer     consoleRenderer = new ConsoleRenderer();
            ConsoleInputHandler inputHandler    = new ConsoleInputHandler();

            BookStoreEngine engine = new BookStoreEngine(inputHandler, consoleRenderer);

            engine.Run();
        }
Ejemplo n.º 6
0
        public static void Main()
        {
            Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;

            IInputHandler inputHandler = new ConsoleInputHandler();
            IRenderer     renderer     = new FileRenderer();

            BookStoreEngine engine = new BookStoreEngine(renderer, inputHandler);

            engine.Run();
        }
        public static void Main()
        {
            Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;

            IInputHandler inputHandler = new ConsoleInputHandler();
            IRenderer renderer = new FileRenderer();

            BookStoreEngine engine = new BookStoreEngine(renderer, inputHandler);

            engine.Run();
        }
Ejemplo n.º 8
0
        public static void Main()
        {
            BookStoreEngine engine = new BookStoreEngine();

            engine.Run();
        }
Ejemplo n.º 9
0
        public static void Main()
        {
            BookStoreEngine engine = new BookStoreEngine(new ConsoleRenderer(), new ConsoleInputHandler());

            engine.Run();
        }
Ejemplo n.º 10
0
        public static void Main()
        {
            BookStoreEngine engine = new BookStoreEngine();

            engine.Run();
        }