6 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] },
Aspire.Cli.Tests (5)
Mcp\AppHostConnectionSelectionLogicTests.cs (1)
75
appHostInfo: new AppHostInformation { AppHostPath = appHostPath,
ProcessId
= processId, CliProcessId = null },
Mcp\ListAppHostsToolTests.cs (4)
50
ProcessId
= 1234,
82
ProcessId
= 9999,
114
ProcessId
= 1111,
125
ProcessId
= 3333,
9 references to ProcessId
aspire (9)
Backchannel\AuxiliaryBackchannelMonitor.cs (1)
296
appHostInfo?.
ProcessId
.ToString(CultureInfo.InvariantCulture) ?? "N/A",
BackchannelJsonSerializerContext.AppHostInformation.g.cs (2)
81
Getter = static obj => ((global::Aspire.Cli.Backchannel.AppHostInformation)obj).
ProcessId
,
131
writer.WriteNumber(PropName_ProcessId, ((global::Aspire.Cli.Backchannel.AppHostInformation)value).
ProcessId
);
Commands\McpStartCommand.cs (2)
252
connection.AppHostInfo?.
ProcessId
.ToString(CultureInfo.InvariantCulture) ?? "N/A",
423
.ThenBy(c => c.AppHostInfo?.
ProcessId
?? int.MaxValue)
Mcp\ListAppHostsTool.cs (2)
53
c.AppHostInfo?.
ProcessId
?? 0,
61
c.AppHostInfo?.
ProcessId
?? 0,
Projects\RunningInstanceManager.cs (2)
59
_interactionService.DisplayMessage("stop_sign", $"Stopping previous instance (AppHost PID: {appHostInfo.
ProcessId
.ToString(CultureInfo.InvariantCulture)}, CLI PID: {cliPidText})");
94
var pidsToMonitor = new List<int> { appHostInfo.
ProcessId
};