Esempio n. 1
0
 public MainPage(EasyConsole.Program program)
     : base("Emmentaler", program,
            new Option("Manage Players", () => program.NavigateTo <PlayersPage>()),
            new Option("Schedule Matches", () => program.NavigateTo <NotImplementedPage>()),
            new Option("Quit", () => {}))
 {
 }
Esempio n. 2
0
 public MainPage(EasyConsole.Program program) : base("Main", program,
                                                     new Option("Communicate with nodes", () => program.NavigateTo <CommWithNodePage>()),
                                                     new Option("Log configuration", () => program.NavigateTo <SetDefaultLogLevelPage>()),
                                                     new Option("Quit", () =>
 {
     if (Input.ReadString("Confirm exit ? (Y/N)") != "Y")
         program.NavigateHome();
 })
                                                     )
 {
 }
Esempio n. 3
0
        public Page1(EasyConsole.Program menuprog1)
            : base("Check VPN Setup", menuprog1,
                   new Option("Check VPN Install Direectory ", () => AdminVPNsetup.Program._is_Directory_exists()),
                   new Option("Check VPN Sub Directories ", () => AdminVPNsetup.Program._is_SubDirectory_exists()),
                   new Option("Check Service Install", () => AdminVPNsetup.Program._is_Service_installed()),
                   new Option("Check Bridge Service Start Up Mode", () => AdminVPNsetup.Program._Bridge_service_condition()),
                   new Option("Check Bridge Service Condition", () => AdminVPNsetup.Program._BridgeServiceCondition()),
                   new Option("Check Bridge Hub", () => AdminVPNsetup.CheckInstall._Hub_list()),
                   new Option("Check Local Bridge Card", () => AdminVPNsetup.CheckInstall._Print_Local_Bridge()),
                   new Option("Check if Cascade connection is setup", () => AdminVPNsetup.CheckInstall._Check_Cascade_setup()))

        {
        }
Esempio n. 4
0
 public MainPage(EasyConsole.Program menuprog) : base("Main Page", menuprog,
                                                      new Option("VPN Server Bridge Setup Check", () => menuprog.NavigateTo <Page1>()),
                                                      new Option("Bridge Capable Network Cards", () => AdminVPNsetup.Program._PrintBridgeCapableList()),
                                                      new Option("Input", () => menuprog.NavigateTo <InputPage>()))
 {
 }
Esempio n. 5
0
 public LoadPlayersPage(EasyConsole.Program program)
     : base("Load List", program)
 {
     emmentaler = program as Emmentaler;
 }
Esempio n. 6
0
 public SavePlayersPage(EasyConsole.Program program)
     : base("Save List", program)
 {
     emmentaler = program as Emmentaler;
 }
Esempio n. 7
0
 public RemovePlayerPage(EasyConsole.Program program)
     : base("Remove Player", program)
 {
     emmentaler = program as Emmentaler;
 }
 public CommWithNodePage(EasyConsole.Program program) : base("Communicate with node", program,
                                                             new Option("Restart node", () => program.NavigateTo <SendRestartPage>()))
 {
 }
Esempio n. 9
0
 public NewPlayerPage(EasyConsole.Program program)
     : base("Add Player", program)
 {
     emmentaler = program as Emmentaler;
 }
Esempio n. 10
0
 public SetDefaultLogLevelPage(EasyConsole.Program program) : base("Default log level", program)
 {
 }
Esempio n. 11
0
 public PlayersPage(EasyConsole.Program program)
     : base("Players", program)
 {
     emmentaler = program as Emmentaler;
 }
Esempio n. 12
0
 public EditPlayerPage(EasyConsole.Program program)
     : base("Edit Player", program)
 {
     emmentaler = program as Emmentaler;
 }
Esempio n. 13
0
 public SendRestartPage(EasyConsole.Program program, IMessageChannel msgChannel, IUnitOfWork unitOfWork) : base(
         "Restart node", program)
 {
     _msgChannel = msgChannel;
     _unitOfWork = unitOfWork;
 }
Esempio n. 14
0
 public InputPage(EasyConsole.Program menuprog)
     : base("Input", menuprog)
 {
 }