PowerShellHtmlConsole.InputOutputBuffers.QueueOutCommand C# (CSharp) 메소드

QueueOutCommand() 공개 메소드

public QueueOutCommand ( OutCommand command ) : void
command OutCommand
리턴 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));
 }