Defaults.cs 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. using System;
  2. namespace Quadarax.Foundation.Core.QConsole
  3. {
  4. internal class Defaults
  5. {
  6. public class Arguments
  7. {
  8. internal const int ItemsPerPage = 20;
  9. }
  10. internal class Console
  11. {
  12. internal const bool InteractiveAllowed = true;
  13. internal const bool PresetAllowed = false;
  14. internal const bool ConsoleDebugMode = false;
  15. internal const ConsoleColor ConsoleDebugForeColor = ConsoleColor.DarkGray;
  16. internal const bool DisableDefaultCommands = false;
  17. internal const bool WaitOnKeyInNonInteractiveMode = false;
  18. internal const bool ShowStatusOnEveryCommand = false;
  19. internal const bool UseDefaultHadlers = true;
  20. }
  21. internal class Formats
  22. {
  23. internal const string DateFormat = "dd.MM.YYYY";
  24. internal const string TimeFormat = "hh:MM:ss";
  25. }
  26. internal class RoleCharacters
  27. {
  28. internal const string ConsoleLineIntroduce = ">";
  29. internal const string OrdinalArgumentSeparator = " ";
  30. internal const string NamedArgumentSeparator = "-";
  31. internal const string NamedArgumentValueSeparator = ":";
  32. internal const string TextValueBraceSeparator = "\"";
  33. internal const string InputSelectionValueSeparator = ",";
  34. internal const string InputIncrementPageCharacter = "+";
  35. internal const string InputDecrementPageCharacter = "-";
  36. internal const string InputFirstPageCharacter = "f";
  37. internal const string InputLastPageCharacter = "l";
  38. internal const string InputExitPageCharacter = "";
  39. internal const string SelectionVariablePrefixCharacter = "@";
  40. internal const string SelectionVariablePropertyCharacter = ".";
  41. }
  42. }
  43. }