6 writes to CliProcessId
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 (5)
Mcp\AppHostConnectionSelectionLogicTests.cs (1)
75appHostInfo: new AppHostInformation { AppHostPath = appHostPath, ProcessId = processId, CliProcessId = null },
Mcp\ListAppHostsToolTests.cs (4)
52CliProcessId = 5678 84CliProcessId = null 116CliProcessId = 2222 127CliProcessId = 4444
12 references to CliProcessId
aspire (12)
Backchannel\AppHostAuxiliaryBackchannel.cs (1)
420CliProcessId = legacyInfo.CliProcessId,
Backchannel\AuxiliaryBackchannelMonitor.cs (1)
450connection.AppHostInfo?.CliProcessId?.ToString(CultureInfo.InvariantCulture) ?? "N/A",
BackchannelJsonSerializerContext.AppHostInformation.g.cs (2)
102Getter = static obj => ((global::Aspire.Cli.Backchannel.AppHostInformation)obj).CliProcessId, 153global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Aspire.Cli.Backchannel.AppHostInformation)value).CliProcessId, NullableInt32);
Commands\PsCommand.cs (1)
158info.CliProcessId,
Commands\StopCommand.cs (1)
98var cliProcessId = appHostInfo?.CliProcessId;
Mcp\Tools\ListAppHostsTool.cs (2)
52c.AppHostInfo?.CliProcessId)) 60c.AppHostInfo?.CliProcessId))
Projects\RunningInstanceManager.cs (4)
60var cliPidText = appHostInfo.CliProcessId.HasValue ? appHostInfo.CliProcessId.Value.ToString(CultureInfo.InvariantCulture) : "N/A"; 98if (appHostInfo.CliProcessId.HasValue) 100pidsToMonitor.Add(appHostInfo.CliProcessId.Value);