8 writes to ProcessId
aspire (1)
BackchannelJsonSerializerContext.AppHostInformation.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Aspire.Cli.Backchannel.AppHostInformation(){ AppHostPath = (string)args[0], ProcessId = (int)args[1], CliProcessId = (int?)args[2], StartedAt = (global::System.DateTimeOffset?)args[3] },
Aspire.Cli.Tests (7)
Commands\AgentMcpCommandTests.cs (2)
162ProcessId = 12345 232ProcessId = 12345
Mcp\AppHostConnectionSelectionLogicTests.cs (1)
75appHostInfo: new AppHostInformation { AppHostPath = appHostPath, ProcessId = processId, CliProcessId = null },
Mcp\ListAppHostsToolTests.cs (4)
51ProcessId = 1234, 83ProcessId = 9999, 115ProcessId = 1111, 126ProcessId = 3333,
12 references to ProcessId
aspire (12)
Backchannel\AppHostAuxiliaryBackchannel.cs (1)
417Pid = legacyInfo.ProcessId.ToString(System.Globalization.CultureInfo.InvariantCulture),
Backchannel\AppHostConnectionHelper.cs (1)
88.ThenBy(c => c.AppHostInfo?.ProcessId ?? int.MaxValue)
Backchannel\AuxiliaryBackchannelMonitor.cs (1)
449connection.AppHostInfo?.ProcessId.ToString(CultureInfo.InvariantCulture) ?? "N/A",
BackchannelJsonSerializerContext.AppHostInformation.g.cs (2)
81Getter = static obj => ((global::Aspire.Cli.Backchannel.AppHostInformation)obj).ProcessId, 151writer.WriteNumber(PropName_ProcessId, ((global::Aspire.Cli.Backchannel.AppHostInformation)value).ProcessId);
Commands\PsCommand.cs (1)
157info.ProcessId,
Commands\RunCommand.cs (1)
863var pid = appHostInfo?.ProcessId ?? childProcess.Id;
Commands\StopCommand.cs (1)
129if (!rpcSucceeded && appHostInfo?.ProcessId is int appHostPid)
Mcp\Tools\ListAppHostsTool.cs (2)
51c.AppHostInfo?.ProcessId ?? 0, 59c.AppHostInfo?.ProcessId ?? 0,
Projects\RunningInstanceManager.cs (2)
61_interactionService.DisplayMessage("stop_sign", $"Stopping previous instance (AppHost PID: {appHostInfo.ProcessId.ToString(CultureInfo.InvariantCulture)}, CLI PID: {cliPidText})"); 96var pidsToMonitor = new List<int> { appHostInfo.ProcessId };