PoshCode.PowerShell.Host.WriteNativeOutput C# (CSharp) Method

WriteNativeOutput() public method

public WriteNativeOutput ( string message ) : void
message string
return void
        public void WriteNativeOutput(string message)
        {
            // Write is Dispatcher checked
            PoshConsole.Write(ConsoleBrushes.NativeOutputForeground, ConsoleBrushes.NativeOutputBackground, message, PoshConsole.Current);
            PoshConsole.Dispatcher.BeginInvoke(DispatcherPriority.Send, (Action)(()=>PoshConsole.SetPrompt()));
            // TODO: REIMPLEMENT NATIVE prompt using Begin/End and Prompt()
        }