Ejemplo n.º 1
0
        public static CommandSyntax GetSyntax(this CommandInfo command)
        {
            // connect with Global.Modules.Commands.Syntax
            IEnumerable <ArgumentInfo> args = command.TryGetArgs();

            return(new CommandSyntax(command.GetFullName(), command.GetName(), args));
        }