Exemple #1
0
 public Command(string cliCommand, string infoMessage, string helpMessage, ExecuteCommandWithMessage action)
 {
     this.CliCommand  = cliCommand;
     this.infoMessage = infoMessage;
     this.helpMessage = helpMessage;
     this.Action      = action;
 }
Exemple #2
0
 public Help(ExecuteCommandWithMessage action) : base("help", "Zobrazí nápovědu", "Naviděnou", action)
 {
 }
Exemple #3
0
 public Exit(ExecuteCommandWithMessage action) : base("exit", "Ukončí program", "", action)
 {
 }
Exemple #4
0
 public SortByFaculty(ExecuteCommandWithMessage action) : base("sortbyname", "Utřídění pole dle fakulty", "",
                                                               action)
 {
 }
Exemple #5
0
 public SortByName(ExecuteCommandWithMessage action) : base("sortbyname", "Utřídění pole dle jména", "", action)
 {
 }
Exemple #6
0
 public SortByNum(ExecuteCommandWithMessage action) : base("sortbynum", "Utřídění pole dle čísla", "", action)
 {
 }
Exemple #7
0
 public PrintAllStudents(ExecuteCommandWithMessage action) : base("print", "Výpis studentů na obrazovku", "",
                                                                  action)
 {
 }
Exemple #8
0
 public ReadStudentFromStandardInput(ExecuteCommandWithMessage action) : base("addstudent",
                                                                              "Přidáné studenta do pole", "Zadejte jméno cislo nazev fakulty oddelene mezerou", action)
 {
 }