Example #1
0
        public Engine()
        {
            this.forumViewer = new ForumViewEngine();
            this.controllers = InitializeControllers();

            this.menuController = new MenuController(this.controllers, forumViewer);
        }
Example #2
0
 public MenuController(IEnumerable <IController> controllers, ForumViewEngine forumViewer)
 {
     this.controllers = controllers.ToArray();
     this.forumViewer = forumViewer;
     InitializeControllerHistory();
     currentOptionIndex = DEFAULT_INDEX;
     RenderCurrentView();
 }
Example #3
0
        public MenuController(IEnumerable <IController> controllers, ForumViewEngine forumViewer)
        {
            _controllers = controllers.ToArray();
            _forumViewer = forumViewer;

            InitializeControllerHistory();

            _currentOptionIndex = DefaultIndex;
        }
Example #4
0
 public Engine()
 {
     _forumViewer    = new ForumViewEngine();
     _controllers    = InitializeControllers();
     _menuController = new MenuController(_controllers, _forumViewer);
 }
Example #5
0
 public Engine()
 {
     forumViewer    = new ForumViewEngine();
     controllers    = InitializeControllers();
     menuController = new MenuController(controllers, forumViewer);
 }