ArgsTests.CLI.CliKeyboardInputQueue.Enqueue C# (CSharp) Method

Enqueue() public method

public Enqueue ( ConsoleKey key ) : void
key ConsoleKey
return void
        public void Enqueue(ConsoleKey key)
        {
            lock (inputQueue)
            {
                inputQueue.Enqueue(new HumanInputItem(new ConsoleKeyInfo('\u0000', key, false, false, false), TimeSpan.Zero, HumanInputItem.NormalDelay));
            }
        }

Same methods

CliKeyboardInputQueue::Enqueue ( ConsoleKeyInfo key ) : void
CliKeyboardInputQueue::Enqueue ( string input ) : void