Пример #1
0
        private static void GetCommandHelp(string c)
        {
            bool      cacheHit = false;
            CLCommand command  = new CLCommand("");

            foreach (CLCommand cmd in CLParser.CLCommands)
            {
                if (cmd.Equals(c))
                {
                    cacheHit = true;
                    command  = cmd;
                    break;
                }
            }

            if (cacheHit)
            {
                //DisplayCommandHelp(command);
            }
            else
            {
                //DisplayLoadingScreen();
                FetchCommandDefinition(c);
                //DisplayCommandHelp(CLParser.CLCommands[CLParser.CLCommands.Count - 1]);
            }
        }
Пример #2
0
 private static void DisplayCommandHelp(CLCommand command)
 {
     throw new NotImplementedException();
 }