5 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 (4)
Mcp\ListAppHostsToolTests.cs (4)
51CliProcessId = 5678 83CliProcessId = null 115CliProcessId = 2222 126CliProcessId = 4444
10 references to CliProcessId
aspire (10)
Backchannel\AuxiliaryBackchannelMonitor.cs (1)
291appHostInfo?.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)
147connection.AppHostInfo?.CliProcessId?.ToString(CultureInfo.InvariantCulture) ?? "N/A");
Commands\RunCommand.cs (4)
550var cliPidText = appHostInfo.CliProcessId.HasValue ? appHostInfo.CliProcessId.Value.ToString(CultureInfo.InvariantCulture) : "N/A"; 584if (appHostInfo.CliProcessId.HasValue) 586pidsToMonitor.Add(appHostInfo.CliProcessId.Value);
Mcp\ListAppHostsTool.cs (2)
54c.AppHostInfo?.CliProcessId)) 62c.AppHostInfo?.CliProcessId))