2 implementations of AppHostInfo
aspire (1)
Backchannel\AppHostAuxiliaryBackchannel.cs (1)
74public AppHostInformation? AppHostInfo { get; private set; }
Aspire.Cli.Tests (1)
TestServices\TestAppHostAuxiliaryBackchannel.cs (1)
19public AppHostInformation? AppHostInfo { get; set; }
36 references to AppHostInfo
aspire (33)
Backchannel\AppHostConnectionHelper.cs (8)
48c.AppHostInfo?.AppHostPath != null && 49string.Equals(c.AppHostInfo.AppHostPath, selectedPath, StringComparison.OrdinalIgnoreCase)); 67logger.LogDebug("Using single in-scope AppHost: {AppHostPath}", inScopeConnections[0].AppHostInfo?.AppHostPath ?? "N/A"); 74.Where(c => c.AppHostInfo?.AppHostPath != null) 75.Select(c => c.AppHostInfo!.AppHostPath) 87.OrderBy(c => c.AppHostInfo?.AppHostPath ?? string.Empty, StringComparer.OrdinalIgnoreCase) 88.ThenBy(c => c.AppHostInfo?.ProcessId ?? int.MaxValue) 93fallback?.AppHostInfo?.AppHostPath ?? "N/A");
Backchannel\AppHostConnectionResolver.cs (4)
116.OrderByDescending(c => c.AppHostInfo?.StartedAt ?? DateTimeOffset.MinValue) 119var appHostPath = c.AppHostInfo?.AppHostPath ?? "Unknown"; 140.OrderByDescending(c => c.AppHostInfo?.StartedAt ?? DateTimeOffset.MinValue) 143var path = c.AppHostInfo?.AppHostPath ?? "Unknown";
Backchannel\AuxiliaryBackchannelMonitor.cs (3)
74c.AppHostInfo?.AppHostPath != null && 75string.Equals(Path.GetFullPath(c.AppHostInfo.AppHostPath), Path.GetFullPath(SelectedAppHostPath), StringComparison.OrdinalIgnoreCase)); 105.Where(c => IsAppHostInScopeOfDirectory(c.AppHostInfo?.AppHostPath, workingDirectory.FullName))
Commands\AgentMcpCommand.cs (3)
297connection.AppHostInfo?.AppHostPath ?? "N/A", 298connection.AppHostInfo?.ProcessId.ToString(CultureInfo.InvariantCulture) ?? "N/A", 299connection.AppHostInfo?.CliProcessId?.ToString(CultureInfo.InvariantCulture) ?? "N/A");
Commands\PsCommand.cs (1)
137var info = connection.AppHostInfo;
Commands\RunCommand.cs (1)
884var appHostInfo = backchannel.AppHostInfo;
Commands\StopCommand.cs (2)
84var appHostPath = selectedConnection.AppHostInfo?.AppHostPath ?? "Unknown"; 92var appHostInfo = selectedConnection.AppHostInfo;
Mcp\Tools\ListAppHostsTool.cs (6)
54c.AppHostInfo?.AppHostPath ?? "Unknown", 55c.AppHostInfo?.ProcessId ?? 0, 56c.AppHostInfo?.CliProcessId)) 62c.AppHostInfo?.AppHostPath ?? "Unknown", 63c.AppHostInfo?.ProcessId ?? 0, 64c.AppHostInfo?.CliProcessId))
Mcp\Tools\ListIntegrationsTool.cs (1)
161var appHostPath = inScopeConnections[0].AppHostInfo?.AppHostPath;
Mcp\Tools\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)
51c.AppHostInfo?.AppHostPath != null && 52string.Equals(Path.GetFullPath(c.AppHostInfo.AppHostPath), Path.GetFullPath(SelectedAppHostPath), StringComparison.OrdinalIgnoreCase)); 79.Where(c => IsAppHostInScopeOfDirectory(c.AppHostInfo?.AppHostPath, workingDirectory.FullName))