コード例 #1
0
ファイル: MainPage.cs プロジェクト: chetgray/Emmentaler
 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", () => {}))
 {
 }
コード例 #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();
 })
                                                     )
 {
 }
コード例 #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()))

        {
        }
コード例 #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>()))
 {
 }
コード例 #5
0
 public LoadPlayersPage(EasyConsole.Program program)
     : base("Load List", program)
 {
     emmentaler = program as Emmentaler;
 }
コード例 #6
0
 public SavePlayersPage(EasyConsole.Program program)
     : base("Save List", program)
 {
     emmentaler = program as Emmentaler;
 }
コード例 #7
0
 public RemovePlayerPage(EasyConsole.Program program)
     : base("Remove Player", program)
 {
     emmentaler = program as Emmentaler;
 }
コード例 #8
0
 public CommWithNodePage(EasyConsole.Program program) : base("Communicate with node", program,
                                                             new Option("Restart node", () => program.NavigateTo <SendRestartPage>()))
 {
 }
コード例 #9
0
ファイル: NewPlayerPage.cs プロジェクト: chetgray/Emmentaler
 public NewPlayerPage(EasyConsole.Program program)
     : base("Add Player", program)
 {
     emmentaler = program as Emmentaler;
 }
コード例 #10
0
 public SetDefaultLogLevelPage(EasyConsole.Program program) : base("Default log level", program)
 {
 }
コード例 #11
0
ファイル: PlayersPage.cs プロジェクト: chetgray/Emmentaler
 public PlayersPage(EasyConsole.Program program)
     : base("Players", program)
 {
     emmentaler = program as Emmentaler;
 }
コード例 #12
0
ファイル: EditPlayerPage.cs プロジェクト: chetgray/Emmentaler
 public EditPlayerPage(EasyConsole.Program program)
     : base("Edit Player", program)
 {
     emmentaler = program as Emmentaler;
 }
コード例 #13
0
 public SendRestartPage(EasyConsole.Program program, IMessageChannel msgChannel, IUnitOfWork unitOfWork) : base(
         "Restart node", program)
 {
     _msgChannel = msgChannel;
     _unitOfWork = unitOfWork;
 }
コード例 #14
0
ファイル: InputPage.cs プロジェクト: cmitrou/AdminVPNsetup
 public InputPage(EasyConsole.Program menuprog)
     : base("Input", menuprog)
 {
 }