Incomplete() public method

Returns all incomplete commands, sorted by command name.
public Incomplete ( ) : List
return List
Exemplo n.º 1
0
        /// <summary>
        /// Display the incomplete commands in GitSharp. Primarily for development use.
        /// </summary>
        private static void ShowIncomplete()
        {
            CommandCatalog catalog = new CommandCatalog();

            foreach (CommandRef c in catalog.Incomplete())
            {
                Console.Write("      ");
                Console.Write(c.getName());
                for (int i = c.getName().Length + 8; i < 31; i++)
                {
                    Console.Write(" ");
                }
                Console.Write(c.getUsage());
                Console.WriteLine();
            }
        }
Exemplo n.º 2
0
 /// <summary>
 /// Display the incomplete commands in GitSharp. Primarily for development use.
 /// </summary>
 private static void ShowIncomplete()
 {
     CommandCatalog catalog = new CommandCatalog();
     foreach (CommandRef c in catalog.Incomplete())
     {
         Console.Write("      ");
         Console.Write(c.getName());
         for (int i = c.getName().Length + 8; i < 31; i++)
             Console.Write(" ");
         Console.Write(c.getUsage());
         Console.WriteLine();
     }
 }