4 instantiations of ProcessOutputLine
System.Diagnostics.Process (4)
System\Diagnostics\Process.Multiplexing.cs (4)
293
lines.Add(new
ProcessOutputLine
(
307
lines.Add(new
ProcessOutputLine
(
335
lines.Add(new
ProcessOutputLine
(
577
await channel.Writer.WriteAsync(new
ProcessOutputLine
(line, standardError), ct).ConfigureAwait(false);
17 references to ProcessOutputLine
System.Diagnostics.Process (17)
System\Diagnostics\Process.Multiplexing.cs (12)
127
/// An enumerable of <see cref="
ProcessOutputLine
"/> instances representing the lines
146
public IEnumerable<
ProcessOutputLine
> ReadAllLines(TimeSpan? timeout = default)
260
/// <see cref="
ProcessOutputLine
"/> to <paramref name="lines"/>, and advances
269
List<
ProcessOutputLine
> lines)
325
List<
ProcessOutputLine
> lines)
344
private static void DecodeBytesAndParseLines(Decoder decoder, ReadOnlySpan<byte> byteBuffer, ref char[] charBuffer, ref int charStart, ref int charEnd, bool standardError, List<
ProcessOutputLine
> lines)
350
private 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
534
public async IAsyncEnumerable<
ProcessOutputLine
> ReadAllLinesAsync([EnumeratorCancellation] CancellationToken cancellationToken = default)
541
Channel<
ProcessOutputLine
> channel = Channel.CreateBounded<
ProcessOutputLine
>(0);
553
while (channel.Reader.TryRead(out
ProcessOutputLine
line))
System\Diagnostics\Process.Multiplexing.Unix.cs (4)
23
private IEnumerable<
ProcessOutputLine
> ReadPipesToLines(
64
List<
ProcessOutputLine
> lines = new();
99
foreach (
ProcessOutputLine
line in lines)
226
List<
ProcessOutputLine
> lines)
System\Diagnostics\ProcessOutputLine.cs (1)
12
/// Initializes a new instance of the <see cref="
ProcessOutputLine
"/> struct.