2 writes to AppHostInfo
aspire (2)
Backchannel\AppHostAuxiliaryBackchannel.cs (2)
44AppHostInfo = appHostInfo; 134AppHostInfo = await GetAppHostInformationAsync(cancellationToken).ConfigureAwait(false);
26 references to AppHostInfo
aspire (23)
Backchannel\AuxiliaryBackchannelMonitor.cs (3)
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))
Commands\McpStartCommand.cs (8)
145connection.AppHostInfo?.AppHostPath ?? "N/A", 146connection.AppHostInfo?.ProcessId.ToString(CultureInfo.InvariantCulture) ?? "N/A", 147connection.AppHostInfo?.CliProcessId?.ToString(CultureInfo.InvariantCulture) ?? "N/A"); 212c.AppHostInfo?.AppHostPath != null && 213string.Equals(c.AppHostInfo.AppHostPath, selectedPath, StringComparison.OrdinalIgnoreCase)); 231_logger.LogDebug("Using single in-scope AppHost: {AppHostPath}", inScopeConnections[0].AppHostInfo?.AppHostPath ?? "N/A"); 238.Where(c => c.AppHostInfo?.AppHostPath != null) 239.Select(c => c.AppHostInfo!.AppHostPath)
Commands\RunCommand.cs (1)
541var appHostInfo = backchannel.AppHostInfo;
Mcp\ListAppHostsTool.cs (6)
52c.AppHostInfo?.AppHostPath ?? "Unknown", 53c.AppHostInfo?.ProcessId ?? 0, 54c.AppHostInfo?.CliProcessId)) 60c.AppHostInfo?.AppHostPath ?? "Unknown", 61c.AppHostInfo?.ProcessId ?? 0, 62c.AppHostInfo?.CliProcessId))
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))