public Engine() { this.forumViewer = new ForumViewEngine(); this.controllers = InitializeControllers(); this.menuController = new MenuController(this.controllers, forumViewer); }
public MenuController(IEnumerable <IController> controllers, ForumViewEngine forumViewer) { this.controllers = controllers.ToArray(); this.forumViewer = forumViewer; InitializeControllerHistory(); currentOptionIndex = DEFAULT_INDEX; RenderCurrentView(); }
public MenuController(IEnumerable <IController> controllers, ForumViewEngine forumViewer) { _controllers = controllers.ToArray(); _forumViewer = forumViewer; InitializeControllerHistory(); _currentOptionIndex = DefaultIndex; }
public Engine() { _forumViewer = new ForumViewEngine(); _controllers = InitializeControllers(); _menuController = new MenuController(_controllers, _forumViewer); }
public Engine() { forumViewer = new ForumViewEngine(); controllers = InitializeControllers(); menuController = new MenuController(controllers, forumViewer); }