Inheritance: BaseCommandHandlerParameter
Ejemplo n.º 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);
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 3
0
 public BuiltInCommand(string name, CommandHandlerParameter usage)
 {
     Name = name;
     Usage = usage;
 }