25 writes to StandardErrorCallback
aspire (25)
Certificates\CertificateService.cs (3)
78StandardErrorCallback = collector.AppendError, 113StandardErrorCallback = collector.AppendError, 130StandardErrorCallback = collector.AppendError,
Commands\ExecCommand.cs (1)
164StandardErrorCallback = runOutputCollector.AppendError,
Commands\InitCommand.cs (8)
197StandardErrorCallback = initContext.GetSolutionProjectsOutputCollector.AppendError 340StandardErrorCallback = initContext.InstallTemplateOutputCollector.AppendError 368StandardErrorCallback = initContext.NewProjectOutputCollector.AppendError 423StandardErrorCallback = initContext.AddAppHostToSolutionOutputCollector.AppendError 449StandardErrorCallback = initContext.AddServiceDefaultsToSolutionOutputCollector.AppendError 481StandardErrorCallback = outputCollector.AppendError 515StandardErrorCallback = outputCollector.AppendError 617StandardErrorCallback = initContext.EvaluateSolutionProjectsOutputCollector.AppendError
DotNet\DotNetCliRunner.cs (5)
352options.StandardErrorCallback = (line) => { 585options.StandardErrorCallback = (line) => { 965options.StandardErrorCallback = (line) => 1060options.StandardErrorCallback = (line) => { 1100options.StandardErrorCallback = (line) => {
Projects\AppHostServerProject.cs (1)
546StandardErrorCallback = outputCollector.AppendError
Projects\DotNetAppHostProject.cs (5)
240StandardErrorCallback = buildOutputCollector.AppendError, 288StandardErrorCallback = runOutputCollector.AppendError, 373StandardErrorCallback = buildOutputCollector.AppendError, 402StandardErrorCallback = runOutputCollector.AppendError, 432StandardErrorCallback = outputCollector.AppendError,
Templating\DotNetTemplateFactory.cs (2)
420StandardErrorCallback = templateInstallCollector.AppendOutput, 457StandardErrorCallback = newProjectCollector.AppendOutput,
12 references to StandardErrorCallback
aspire (6)
DotNet\DotNetCliExecution.cs (1)
79_options.StandardErrorCallback,
DotNet\DotNetCliRunner.cs (5)
351var existingStandardErrorCallback = options.StandardErrorCallback; // Preserve the existing callback if it exists. 584var existingStandardErrorCallback = options.StandardErrorCallback; // Preserve the existing callback if it exists. 953var originalStderrCallback = options.StandardErrorCallback; 1059var existingStandardErrorCallback = options.StandardErrorCallback; // Preserve the existing callback if it exists. 1099var existingStandardErrorCallback = options.StandardErrorCallback;
Aspire.Cli.Tests (6)
Certificates\CertificateServiceTests.cs (2)
210Assert.NotNull(options.StandardErrorCallback); 211options.StandardErrorCallback!.Invoke("There was an error trusting the HTTPS developer certificate. It will be trusted by some clients but not by others.");
Commands\InitCommandTests.cs (4)
85Assert.NotNull(invocationOptions.StandardErrorCallback); 91invocationOptions.StandardErrorCallback?.Invoke(testErrorMessage); 155Assert.NotNull(invocationOptions.StandardErrorCallback); 161invocationOptions.StandardErrorCallback?.Invoke(testErrorMessage);