public static void Main() { IDataBase db = new DataBase(); ICommandManager commandManager = new CommandManager(); IInputReader reader = new ConsoleReader(); IOutputWriter writer = new ConsoleWriter { AutoFlush = true }; IEngine engine = new BlobsEngine(db, commandManager, reader, writer); engine.Run(); }
static void Main() { var engine = new BlobsEngine(); engine.Run(); }