示例#1
0
        public static void Main()
        {
            IInputHandler inputHandler = new ConsoleInputHandler();
            var renderer = new ConsoleRenderer();
            BookStoreEngine engine = new BookStoreEngine(renderer,inputHandler);

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

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

            engine.Run();
        }
示例#4
0
        public static void Main()
        {
            ConsoleInputHandler cih = new ConsoleInputHandler();
            ConsoleRenderer cr = new ConsoleRenderer();

            BookStoreEngine engine = new BookStoreEngine(cr, cih);

            engine.Run();
        }
示例#5
0
        public static void Main()
        {
            ConsoleRenderer     consoleRenderer = new ConsoleRenderer();
            ConsoleInputHandler inputHandler    = new ConsoleInputHandler();

            BookStoreEngine engine = new BookStoreEngine(inputHandler, consoleRenderer);

            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();
        }
        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();
        }
示例#8
0
        public static void Main()
        {
            BookStoreEngine engine = new BookStoreEngine();

            engine.Run();
        }
示例#9
0
        public static void Main()
        {
            BookStoreEngine engine = new BookStoreEngine(new ConsoleRenderer(), new ConsoleInputHandler());

            engine.Run();
        }
        public static void Main()
        {
            BookStoreEngine engine = new BookStoreEngine();

            engine.Run();
        }