8 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], StartedAt = (global::System.DateTimeOffset?)args[3] },
Aspire.Cli.Tests (7)
Commands\AgentMcpCommandTests.cs (2)
161AppHostPath = Path.Combine(_workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"), 231AppHostPath = Path.Combine(_workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
Mcp\AppHostConnectionSelectionLogicTests.cs (1)
75appHostInfo: new AppHostInformation { AppHostPath = appHostPath, ProcessId = processId, CliProcessId = null },
Mcp\ListAppHostsToolTests.cs (4)
50AppHostPath = appHostPath, 82AppHostPath = appHostPath, 114AppHostPath = inScopeAppHostPath, 125AppHostPath = outOfScopeAppHostPath,
31 references to AppHostPath
aspire (28)
Backchannel\AppHostAuxiliaryBackchannel.cs (1)
419AppHostPath = legacyInfo.AppHostPath,
Backchannel\AppHostConnectionHelper.cs (7)
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) 93fallback?.AppHostInfo?.AppHostPath ?? "N/A");
Backchannel\AppHostConnectionResolver.cs (2)
119var appHostPath = c.AppHostInfo?.AppHostPath ?? "Unknown"; 143var path = c.AppHostInfo?.AppHostPath ?? "Unknown";
Backchannel\AuxiliaryBackchannelMonitor.cs (5)
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)) 412connection.IsInScope = IsAppHostInScope(connection.AppHostInfo?.AppHostPath); 448connection.AppHostInfo?.AppHostPath ?? "N/A",
BackchannelJsonSerializerContext.AppHostInformation.g.cs (2)
58Getter = static obj => ((global::Aspire.Cli.Backchannel.AppHostInformation)obj).AppHostPath, 150writer.WriteString(PropName_AppHostPath, ((global::Aspire.Cli.Backchannel.AppHostInformation)value).AppHostPath);
Commands\PsCommand.cs (2)
152_logger.LogDebug(ex, "Failed to get dashboard URL for {AppHostPath}", info.AppHostPath); 156info.AppHostPath ?? PsCommandStrings.UnknownPath,
Commands\StopCommand.cs (1)
84var appHostPath = selectedConnection.AppHostInfo?.AppHostPath ?? "Unknown";
Mcp\McpResourceToolRefreshService.cs (1)
87selectedAppHostPath = connection.AppHostInfo?.AppHostPath;
Mcp\Tools\ListAppHostsTool.cs (2)
50c.AppHostInfo?.AppHostPath ?? "Unknown", 58c.AppHostInfo?.AppHostPath ?? "Unknown",
Mcp\Tools\ListIntegrationsTool.cs (1)
157var appHostPath = inScopeConnections[0].AppHostInfo?.AppHostPath;
Mcp\Tools\SelectAppHostTool.cs (4)
73if (c.AppHostInfo?.AppHostPath is null) 77var candidatePath = Path.GetFullPath(c.AppHostInfo.AppHostPath); 85.Where(c => c.AppHostInfo?.AppHostPath != null) 86.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))