2 instantiations of ProcessResult
Aspire.Hosting.Azure (1)
src\Aspire.Hosting\Dcp\Process\ProcessUtil.cs (1)
120
processLifetimeTcs.TrySetResult(new
ProcessResult
(process.ExitCode));
Aspire.Hosting.Azure.Tests (1)
ProvisioningTestHelpers.cs (1)
662
public ProcessResult DefaultResult { get; set; } =
new
(0);
10 references to ProcessResult
Aspire.Hosting.Azure (5)
IProcessRunner.cs (2)
18
(Task<
ProcessResult
>, IAsyncDisposable) Run(ProcessSpec processSpec);
26
public (Task<
ProcessResult
>, IAsyncDisposable) Run(ProcessSpec processSpec)
Provisioning\Internal\BicepCompiler.cs (1)
84
var
result = await task.ConfigureAwait(false);
src\Aspire.Hosting\Dcp\Process\ProcessUtil.cs (2)
20
public static (Task<
ProcessResult
>, IAsyncDisposable) Run(ProcessSpec processSpec)
86
var processLifetimeTcs = new TaskCompletionSource<
ProcessResult
>();
Aspire.Hosting.Azure.Tests (5)
ProvisioningTestHelpers.cs (5)
657
public Dictionary<string,
ProcessResult
> CommandResults { get; set; } = [];
662
public
ProcessResult
DefaultResult { get; set; } = new(0);
669
public (Task<
ProcessResult
>, IAsyncDisposable) Run(ProcessSpec processSpec)
677
var
result = CommandResults.TryGetValue(commandKey, out
var
configuredResult) ? configuredResult : DefaultResult;