8 writes to ProcessId
aspire (1)
BackchannelJsonSerializerContext.AppHostInformation.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = 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)
162
ProcessId
= 12345
232
ProcessId
= 12345
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,
12 references to ProcessId
aspire (12)
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",
BackchannelJsonSerializerContext.AppHostInformation.g.cs (2)
81
Getter = static obj => ((global::Aspire.Cli.Backchannel.AppHostInformation)obj).
ProcessId
,
151
writer.WriteNumber(PropName_ProcessId, ((global::Aspire.Cli.Backchannel.AppHostInformation)value).
ProcessId
);
Commands\PsCommand.cs (1)
157
info.
ProcessId
,
Commands\RunCommand.cs (1)
863
var pid = appHostInfo?.
ProcessId
?? childProcess.Id;
Commands\StopCommand.cs (1)
129
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("stop_sign", $"Stopping previous instance (AppHost PID: {appHostInfo.
ProcessId
.ToString(CultureInfo.InvariantCulture)}, CLI PID: {cliPidText})");
96
var pidsToMonitor = new List<int> { appHostInfo.
ProcessId
};