14 writes to ProcessId
Aspire.Cli.Tests (14)
Commands\AgentMcpCommandTests.cs (5)
162
ProcessId
= 12345
232
ProcessId
= 12345
309
ProcessId
= 12345
425
ProcessId
= 12345
511
ProcessId
= 12345
Commands\DescribeCommandTests.cs (1)
347
ProcessId
= 1234
Commands\LogsCommandTests.cs (1)
584
ProcessId
= 1234
Commands\PsCommandTests.cs (2)
111
ProcessId
= 1234,
127
ProcessId
= 9012
Mcp\AppHostConnectionSelectionLogicTests.cs (1)
75
appHostInfo: new AppHostInformation { AppHostPath = appHostPath,
ProcessId
= processId, CliProcessId = null },
Mcp\ListAppHostsToolTests.cs (4)
51
ProcessId
= 1234,
83
ProcessId
= 9999,
115
ProcessId
= 1111,
126
ProcessId
= 3333,
10 references to ProcessId
aspire (10)
Backchannel\AppHostAuxiliaryBackchannel.cs (1)
417
Pid = legacyInfo.
ProcessId
.ToString(System.Globalization.CultureInfo.InvariantCulture),
Backchannel\AppHostConnectionHelper.cs (1)
88
.ThenBy(c => c.AppHostInfo?.
ProcessId
?? int.MaxValue)
Backchannel\AuxiliaryBackchannelMonitor.cs (1)
449
connection.AppHostInfo?.
ProcessId
.ToString(CultureInfo.InvariantCulture) ?? "N/A",
Commands\AppHostLauncher.cs (1)
325
var pid = appHostInfo?.
ProcessId
?? result.ChildProcess!.Id;
Commands\PsCommand.cs (1)
153
info.
ProcessId
,
Commands\StopCommand.cs (1)
256
if (!rpcSucceeded && appHostInfo?.
ProcessId
is int appHostPid)
Mcp\Tools\ListAppHostsTool.cs (2)
51
c.AppHostInfo?.
ProcessId
?? 0,
59
c.AppHostInfo?.
ProcessId
?? 0,
Projects\RunningInstanceManager.cs (2)
61
_interactionService.DisplayMessage(KnownEmojis.StopSign, $"Stopping previous instance (AppHost PID: {appHostInfo.
ProcessId
.ToString(CultureInfo.InvariantCulture)}, CLI PID: {cliPidText})");
96
var pidsToMonitor = new List<int> { appHostInfo.
ProcessId
};