20 references to ProcessResult
Aspire.Hosting (2)
Dcp\Process\ProcessUtil.cs (2)
236
return new
ProcessResult
(exitCode);
239
return new
ProcessResult
(exitCode, outputCapture.ToArray(), outputCapture.TotalLineCount);
Aspire.Hosting.Tests (17)
Publishing\ContainerRuntimeBaseTests.cs (14)
71
new
ProcessResult
(0,
75
new
ProcessResult
(0,
179
new
ProcessResult
(0,
224
new
ProcessResult
(0,
260
new
ProcessResult
(0,
264
new
ProcessResult
(0),
265
new
ProcessResult
(0,
302
new
ProcessResult
(0,
306
new
ProcessResult
(0),
307
new
ProcessResult
(0,
330
new
ProcessResult
(0,
334
new
ProcessResult
(0),
335
new
ProcessResult
(0, [imageMetadata])
421
var result = _results.Count > 0 ? _results.Dequeue() : new
ProcessResult
(0);
Publishing\DockerContainerRuntimeTests.cs (1)
142
cleanupResult.TrySetResult(new
ProcessResult
(0));
Utils\DotnetSdkVersionProviderTests.cs (2)
209
processCompletion.SetResult(new
ProcessResult
(0, ["11.0.100-rc.1"]));
344
processCompletion.SetResult(new
ProcessResult
(1));
Aspire.Hosting.TestUtilities (1)
Utils\TestProcessRunner.cs (1)
116
var processResult = new
ProcessResult
(run.ExitCode, processOutput, totalOutputLineCount);