4 instantiations of ProcessOutputLine
System.Diagnostics.Process (4)
System\Diagnostics\Process.Multiplexing.cs (4)
293lines.Add(new ProcessOutputLine( 307lines.Add(new ProcessOutputLine( 335lines.Add(new ProcessOutputLine( 577await channel.Writer.WriteAsync(new ProcessOutputLine(line, standardError), ct).ConfigureAwait(false);
21 references to ProcessOutputLine
aspire (2)
DotNet\DotNetSdkInstaller.cs (1)
55await foreach (var line in process.ReadAllLinesAsync(cancellationToken))
src\Shared\ChildProcess.cs (1)
210await foreach (var line in lines.ConfigureAwait(false))
Aspire.Dashboard (1)
src\Shared\ChildProcess.cs (1)
210await foreach (var line in lines.ConfigureAwait(false))
Aspire.Hosting.Native.Server (1)
Dcp\DcpApiClient.cs (1)
111await foreach (var line in process.ReadAllLinesAsync().ConfigureAwait(false))
System.Diagnostics.Process (17)
System\Diagnostics\Process.Multiplexing.cs (12)
127/// An enumerable of <see cref="ProcessOutputLine"/> instances representing the lines 146public IEnumerable<ProcessOutputLine> ReadAllLines(TimeSpan? timeout = default) 260/// <see cref="ProcessOutputLine"/> to <paramref name="lines"/>, and advances 269List<ProcessOutputLine> lines) 325List<ProcessOutputLine> lines) 344private static void DecodeBytesAndParseLines(Decoder decoder, ReadOnlySpan<byte> byteBuffer, ref char[] charBuffer, ref int charStart, ref int charEnd, bool standardError, List<ProcessOutputLine> lines) 350private static bool FlushDecoderAndEmitRemainingChars(bool preambleChecked, Encoding encoding, Decoder decoder, ReadOnlySpan<byte> unconsumedBytes, ref char[] charBuffer, ref int charStart, ref int charEnd, bool standardError, List<ProcessOutputLine> lines) 515/// An async enumerable of <see cref="ProcessOutputLine"/> instances representing the lines 534public async IAsyncEnumerable<ProcessOutputLine> ReadAllLinesAsync([EnumeratorCancellation] CancellationToken cancellationToken = default) 541Channel<ProcessOutputLine> channel = Channel.CreateBounded<ProcessOutputLine>(0); 553while (channel.Reader.TryRead(out ProcessOutputLine line))
System\Diagnostics\Process.Multiplexing.Unix.cs (4)
23private IEnumerable<ProcessOutputLine> ReadPipesToLines( 64List<ProcessOutputLine> lines = new(); 99foreach (ProcessOutputLine line in lines) 226List<ProcessOutputLine> lines)
System\Diagnostics\ProcessOutputLine.cs (1)
12/// Initializes a new instance of the <see cref="ProcessOutputLine"/> struct.