コード例 #1
0
        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();
        }
コード例 #2
0
        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();
        }
コード例 #3
0
        static void Main()
        {
            var engine = new BlobsEngine();

            engine.Run();
        }