6 writes to AppHostPath
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)
49AppHostPath = appHostPath, 81AppHostPath = appHostPath, 113AppHostPath = inScopeAppHostPath, 124AppHostPath = outOfScopeAppHostPath,
25 references to AppHostPath
aspire (22)
Backchannel\AuxiliaryBackchannelMonitor.cs (5)
58c.AppHostInfo?.AppHostPath != null && 59string.Equals(Path.GetFullPath(c.AppHostInfo.AppHostPath), Path.GetFullPath(SelectedAppHostPath), StringComparison.OrdinalIgnoreCase)); 89.Where(c => IsAppHostInScopeOfDirectory(c.AppHostInfo?.AppHostPath, workingDirectory.FullName)) 270var isInScope = IsAppHostInScope(appHostInfo?.AppHostPath); 295appHostInfo?.AppHostPath ?? "N/A",
BackchannelJsonSerializerContext.AppHostInformation.g.cs (2)
58Getter = static obj => ((global::Aspire.Cli.Backchannel.AppHostInformation)obj).AppHostPath, 130writer.WriteString(PropName_AppHostPath, ((global::Aspire.Cli.Backchannel.AppHostInformation)value).AppHostPath);
Commands\McpStartCommand.cs (8)
251connection.AppHostInfo?.AppHostPath ?? "N/A", 383c.AppHostInfo?.AppHostPath != null && 384string.Equals(c.AppHostInfo.AppHostPath, selectedPath, StringComparison.OrdinalIgnoreCase)); 402_logger.LogDebug("Using single in-scope AppHost: {AppHostPath}", inScopeConnections[0].AppHostInfo?.AppHostPath ?? "N/A"); 409.Where(c => c.AppHostInfo?.AppHostPath != null) 410.Select(c => c.AppHostInfo!.AppHostPath) 422.OrderBy(c => c.AppHostInfo?.AppHostPath ?? string.Empty, StringComparer.OrdinalIgnoreCase) 429fallback?.AppHostInfo?.AppHostPath ?? "N/A");
Mcp\ListAppHostsTool.cs (2)
52c.AppHostInfo?.AppHostPath ?? "Unknown", 60c.AppHostInfo?.AppHostPath ?? "Unknown",
Mcp\ListIntegrationsTool.cs (1)
161var appHostPath = inScopeConnections[0].AppHostInfo?.AppHostPath;
Mcp\SelectAppHostTool.cs (4)
75if (c.AppHostInfo?.AppHostPath is null) 79var candidatePath = Path.GetFullPath(c.AppHostInfo.AppHostPath); 87.Where(c => c.AppHostInfo?.AppHostPath != null) 88.Select(c => c.AppHostInfo!.AppHostPath)
Aspire.Cli.Tests (3)
TestServices\TestAuxiliaryBackchannelMonitor.cs (3)
31c.AppHostInfo?.AppHostPath != null && 32string.Equals(Path.GetFullPath(c.AppHostInfo.AppHostPath), Path.GetFullPath(SelectedAppHostPath), StringComparison.OrdinalIgnoreCase)); 59.Where(c => IsAppHostInScopeOfDirectory(c.AppHostInfo?.AppHostPath, workingDirectory.FullName))