qqq_command.cs 639 B

123456789101112131415161718192021222324
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Collections.Specialized;
  4. using System.Text;
  5. using System.ConsoleApp;
  6. using System.ConsoleApp.Commands;
  7. namespace Keln.Commands {
  8. [ConsoleCommand("qqq")]
  9. [ConsoleCommand("quit")]
  10. [ConsoleCommand("exit")]
  11. public class qqq_command : BaseCommand {
  12. public static bool execute(string line, string cmd, NameValueCollection arguments) {
  13. /*foreach(KeyValuePair<string, ProcessInfo> pi in Program.processes) {
  14. pi.Value.Stop();
  15. }*/
  16. ConsoleAdvanced.bExit = true;
  17. return false;
  18. }
  19. }
  20. }