Beispiel #1
0
 public static bool DoesCommandExist(string alias, out command c)
 {
     foreach (command cmd in _cmds)
     {
         if (cmd.alias == alias)
         {
             c = cmd;
             return(true);
         }
     }
     c = null;
     return(false);
 }