Exemplo n.º 1
0
        private static void ProcessQueue(CommandQueue queue, int timeoutSecs)
        {
            ICommand cmd = queue.Pop(false);
            while (cmd != null)
            {
                cmd.Execute();
                cmd.Dispose();

                cmd = queue.Pop(false);
            }
        }
Exemplo n.º 2
0
 public override void OnSetup()
 {
     _queue = new CommandQueue();
     _callCount = 0;
 }