PowerShellHtmlConsole.InputOutputBuffers.QueueOutCommand C# (CSharp) Method

QueueOutCommand() public method

public QueueOutCommand ( OutCommand command ) : void
command OutCommand
return void
        public void QueueOutCommand(OutCommand command)
        {
            _outputQueue.Add(command);
        }

Usage Example

 private static void StartInteractivePrompt(InputOutputBuffers buffers)
 {
     Log.Info("Staring interactive prompt");
     buffers.QueueOutCommand(OutCommand.CreateReadLine(false, null));
 }