5 writes to ProcessId
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)
50ProcessId = 1234, 82ProcessId = 9999, 114ProcessId = 1111, 125ProcessId = 3333,
8 references to ProcessId
aspire (8)
Backchannel\AuxiliaryBackchannelMonitor.cs (1)
290appHostInfo?.ProcessId.ToString(CultureInfo.InvariantCulture) ?? "N/A",
BackchannelJsonSerializerContext.AppHostInformation.g.cs (2)
81Getter = static obj => ((global::Aspire.Cli.Backchannel.AppHostInformation)obj).ProcessId, 131writer.WriteNumber(PropName_ProcessId, ((global::Aspire.Cli.Backchannel.AppHostInformation)value).ProcessId);
Commands\McpStartCommand.cs (1)
146connection.AppHostInfo?.ProcessId.ToString(CultureInfo.InvariantCulture) ?? "N/A",
Commands\RunCommand.cs (2)
551InteractionService.DisplayMessage("stop_sign", $"Stopping previous instance (AppHost PID: {appHostInfo.ProcessId.ToString(CultureInfo.InvariantCulture)}, CLI PID: {cliPidText})"); 582var pidsToMonitor = new List<int> { appHostInfo.ProcessId };
Mcp\ListAppHostsTool.cs (2)
53c.AppHostInfo?.ProcessId ?? 0, 61c.AppHostInfo?.ProcessId ?? 0,