Esempio n. 1
0
        public static void Main()
        {
            IBangaloreUniversityData dataBase      = new BangaloreUniversityData();
            IRenderer                 renderer     = new ConsoleRenderer();
            IInputHandler             inputHandler = new InputHandler();
            BangaloreUniversityEngine engine       = new BangaloreUniversityEngine(dataBase, renderer, inputHandler);

            engine.Run();
        }
        public static void Main()
        {
            IUsersRepository usersRepository = new UsersRepository();
            IRepository<Course> courseRepository = new Repository<Course>();
            IBangaloreUniversityDatebase database = new BangaloreUniversityDatebase(usersRepository, courseRepository);

            var engine = new BangaloreUniversityEngine(database);

            engine.Run();
        }
        public static void Main()
        {
            IBangaloreUniversityData data = new BangaloreUniversityData();

            IInputReader reader = new ConsoleReader();

            IOutputWriter writer = new ConsoleWriter
            {
                AutoFlush = true
            };

            IEngine engine = new BangaloreUniversityEngine(reader, writer, data);
            engine.Run();
        }
        public static void Main()
        {
			var engine = new BangaloreUniversityEngine();
			engine.Run();
        }
        public static void Main()
        {
            var engine = new BangaloreUniversityEngine();

            engine.Run();
        }