3 instantiations of OutputLine
dotnet-watch (3)
Build\BuildReporter.cs (1)
100
=> _messages.Add(new
OutputLine
(message.TrimEnd('\r', '\n'), IsError: false));
Process\ProcessRunner.cs (2)
207
onOutput(new
OutputLine
(args.Data, IsError: false));
222
onOutput(new
OutputLine
(args.Data, IsError: true));
17 references to OutputLine
dotnet-watch (13)
Aspire\AspireServiceFactory.cs (2)
114
var outputChannel = Channel.CreateUnbounded<
OutputLine
>(s_outputChannelOptions);
155
await foreach (
var
line in outputChannel.Reader.ReadAllAsync(cancellationToken))
Build\BuildReporter.cs (2)
85
private readonly List<
OutputLine
> _messages = [];
93
public IReadOnlyList<
OutputLine
> Messages
HotReload\HotReloadDotNetWatcher.cs (2)
865
private async Task<(bool success, ImmutableArray<
OutputLine
> output, string projectPath)> BuildProjectAsync(
868
var buildOutput = new List<
OutputLine
>();
Process\ProcessRunner.cs (1)
162
private static Process CreateProcess(ProcessSpec processSpec, Action<
OutputLine
>? onOutput, ProcessState state, ILogger logger)
Process\ProcessSpec.cs (1)
14
public Action<
OutputLine
>? OnOutput { get; set; }
Process\ProjectLauncher.cs (1)
32
Action<
OutputLine
>? onOutput,
UI\BuildOutput.cs (1)
16
public static void ReportBuildOutput(ILogger logger, IEnumerable<
OutputLine
> buildOutput, bool success, string? projectDisplay)
UI\ConsoleReporter.cs (1)
23
void IProcessOutputReporter.ReportOutput(
OutputLine
line)
UI\IReporter.cs (1)
272
void ReportOutput(
OutputLine
line);
Watch\MsBuildFileSetFactory.cs (1)
47
var capturedOutput = new List<
OutputLine
>();
dotnet-watch.Tests (4)
TestUtilities\TestProcessOutputReporter.cs (2)
8
public readonly List<
OutputLine
> Output = [];
13
public void ReportOutput(
OutputLine
line)
TestUtilities\TestReporter.cs (2)
20
public event Action<
OutputLine
>? OnProcessOutput;
22
void IProcessOutputReporter.ReportOutput(
OutputLine
line)