5 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 (4)
Mcp\ListAppHostsToolTests.cs (4)
49AppHostPath = appHostPath, 81AppHostPath = appHostPath, 113AppHostPath = inScopeAppHostPath, 124AppHostPath = outOfScopeAppHostPath,
23 references to AppHostPath
aspire (20)
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)) 264var isInScope = IsAppHostInScope(appHostInfo?.AppHostPath); 289appHostInfo?.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 (6)
145connection.AppHostInfo?.AppHostPath ?? "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)
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))