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] },
Aspire.Cli.Tests (5)
Mcp\AppHostConnectionSelectionLogicTests.cs (1)
75appHostInfo: new AppHostInformation { AppHostPath = appHostPath, ProcessId = processId, CliProcessId = null },
Mcp\ListAppHostsToolTests.cs (4)
51CliProcessId = 5678 83CliProcessId = null 115CliProcessId = 2222 126CliProcessId = 4444
10 references to CliProcessId
aspire (10)
Backchannel\AuxiliaryBackchannelMonitor.cs (1)
297appHostInfo?.CliProcessId?.ToString(CultureInfo.InvariantCulture) ?? "N/A",
BackchannelJsonSerializerContext.AppHostInformation.g.cs (2)
102Getter = static obj => ((global::Aspire.Cli.Backchannel.AppHostInformation)obj).CliProcessId, 133global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Aspire.Cli.Backchannel.AppHostInformation)value).CliProcessId, NullableInt32);
Commands\McpStartCommand.cs (1)
253connection.AppHostInfo?.CliProcessId?.ToString(CultureInfo.InvariantCulture) ?? "N/A");
Mcp\ListAppHostsTool.cs (2)
54c.AppHostInfo?.CliProcessId)) 62c.AppHostInfo?.CliProcessId))
Projects\RunningInstanceManager.cs (4)
58var cliPidText = appHostInfo.CliProcessId.HasValue ? appHostInfo.CliProcessId.Value.ToString(CultureInfo.InvariantCulture) : "N/A"; 96if (appHostInfo.CliProcessId.HasValue) 98pidsToMonitor.Add(appHostInfo.CliProcessId.Value);