public static void AddCommand( BaseCommand cmd ) { Thread.CurrentThread.Priority = ThreadPriority.BelowNormal; foreach ( string cmdName in cmd.Commands ) { commandList.Add( cmdName.ToLower(), cmd ); } }
public Work(string[] param, BaseCommand cmd) { _param = param; _cmd = cmd; }