Inheritance: BaseCommandHandlerParameter
Example #1
0
 private static void printCommand(CommandHandlerParameter command)
 {
     Console.WriteLine("");
     Console.WriteLine("\t{2} : {0} ({1})",
         command.GetDescription(Environment.NewLine + "\t"),
         command.Language,
         command.Name);
 }
Example #2
0
 public LanguageHandler(LanguagePlugin plugin)
 {
     _plugin = plugin;
     Command = _plugin.GetLanguage();
     Usage = new CommandHandlerParameter(
         Command,
         CommandType.LanguageCommand,
         Command,
         "Commands for the " + Command + " plugin");
     _plugin.GetUsages().ToList()
         .ForEach(x => Usage.Add(x));
 }
Example #3
0
 public BuiltInCommand(string name, CommandHandlerParameter usage)
 {
     Name = name;
     Usage = usage;
 }