示例#1
0
        public static void AddCommand( BaseCommand cmd )
        {
            Thread.CurrentThread.Priority = ThreadPriority.BelowNormal;

            foreach ( string cmdName in cmd.Commands )
            {
                commandList.Add( cmdName.ToLower(), cmd );
            }
        }
示例#2
0
 public Work(string[] param, BaseCommand cmd)
 {
     _param = param;
     _cmd   = cmd;
 }