예제 #1
0
 public MainMenu(List <IMenuOption> Options)
 {
     this.Options   = Options;
     MenuDisplay    = new MenuDisplay(Options);
     DummyConsole   = new FakeConsole();
     SelectorOption = new SelectorOption(Options, DummyConsole);
 }
예제 #2
0
 public MainMenu(List <IMenuOption> Options, IMenuDisplay MenuDisplay,
                 IFakeConsole DummyConsole, ISelectorOption SelectorOption)
 {
     this.Options        = Options;
     this.MenuDisplay    = MenuDisplay;
     this.DummyConsole   = DummyConsole;
     this.SelectorOption = SelectorOption;
 }