1 interface inheriting from IChildProcess
aspire (1)
DotNet\IProcessExecution.cs (1)
9
internal interface IProcessExecution : Aspire.Shared.
IChildProcess
;
1 implementation of IChildProcess
aspire (1)
src\Shared\ChildProcess.cs (1)
25
internal partial class ChildProcess :
IChildProcess
13 references to IChildProcess
aspire (12)
Projects\AppHostServerSession.cs (1)
24
/// <see cref="Aspire.Shared.
IChildProcess
.WaitForExitAsync(CancellationToken)"/>; the execution runs the
Projects\IAppHostServerProject.cs (4)
32
/// (<see cref="Aspire.Shared.
IChildProcess
.HasExited"/>, <see cref="Aspire.Shared.
IChildProcess
.ExitCode"/>,
33
/// <see cref="Aspire.Shared.
IChildProcess
.ProcessId"/>), drive its lifetime via
34
/// <see cref="Aspire.Shared.
IChildProcess
.WaitForExitAsync(CancellationToken)"/> (which runs the shared
src\Shared\ChildProcess.cs (1)
21
/// spawned lazily on <see cref="
IChildProcess
.StartAsync"/> so callers that build an execution but never start it (e.g.
src\Shared\ProcessScope.cs (2)
13
private readonly
IChildProcess
_execution;
18
internal ProcessScope(
IChildProcess
execution, ILogger logger, string description)
src\Shared\Telemetry\InternalMicrosoftDetector.cs (4)
54
private readonly Func<ProcessStartInfo, Action<string>, Action<string>,
IChildProcess
> _createProcess;
67
Func<ProcessStartInfo, Action<string>, Action<string>,
IChildProcess
> createProcess, bool isCIEnvironment)
89
Func<ProcessStartInfo, Action<string>, Action<string>,
IChildProcess
> createProcess,
1157
var
execution = _createProcess(startInfo,
Aspire.Cli.Tests (1)
TestServices\TestProcessExecutionFactory.cs (1)
84
/// When set, the execution will use this exit code when <see cref="Aspire.Shared.
IChildProcess
.WaitForExitAsync"/> is called.