Intensi.cs 830 B

123456789101112131415161718192021222324252627282930313233343536
  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.Intensi {
  8. [ConsoleCommand("intensi"), ConsoleCommand("int")]
  9. public class Intensi {
  10. public static bool execute() {
  11. System.Diagnostics.Debug.WriteLine("ConsoleCommand: DeviceEmotion::execute()");
  12. return true;
  13. }
  14. public static string LineStartText() {
  15. return "DeviceEmotion";
  16. }
  17. [ConsoleCommand("qqq")]
  18. [ConsoleCommand("exit")]
  19. [ConsoleCommand("quit")]
  20. public static bool exit() {
  21. return false;
  22. }
  23. [ConsoleCommand("run")]
  24. public static bool run() {
  25. return true;
  26. }
  27. }
  28. }