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 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(); }
public static void Main() { ConsoleInputHandler cih = new ConsoleInputHandler(); ConsoleRenderer cr = new ConsoleRenderer(); BookStoreEngine engine = new BookStoreEngine(cr, cih); engine.Run(); }
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() { BookStoreEngine engine = new BookStoreEngine(); engine.Run(); }
public static void Main() { BookStoreEngine engine = new BookStoreEngine(new ConsoleRenderer(), new ConsoleInputHandler()); engine.Run(); }