7 writes to Title
aspire (1)
Mcp\Docs\DocsIndexService.cs (1)
203Title = d.Source.Title,
Aspire.Cli.Tests (6)
Commands\DocsCommandTests.cs (3)
184new() { Title = "Redis Integration", Slug = "redis-integration", Summary = "Learn how to use Redis" }, 185new() { Title = "PostgreSQL Integration", Slug = "postgresql-integration", Summary = "Learn how to use PostgreSQL" }, 186new() { Title = "Getting Started", Slug = "getting-started", Summary = "Get started with Aspire" }
Mcp\TestDocsIndexService.cs (3)
15new DocsListItem { Slug = "getting-started", Title = "Getting Started", Summary = "Learn how to get started with Aspire" }, 16new DocsListItem { Slug = "fundamentals/app-host", Title = "App Host", Summary = "Learn about the Aspire app host" }, 17new DocsListItem { Slug = "deployment/azure", Title = "Deploy to Azure", Summary = "Deploy your Aspire app to Azure" },
8 references to Title
aspire (2)
Commands\DocsListCommand.cs (1)
85Markup.Escape(doc.Title),
Mcp\Tools\ListDocsTool.cs (1)
63sb.AppendLine(CultureInfo.InvariantCulture, $"## {doc.Title}");
Aspire.Cli.Tests (6)
Mcp\Docs\DocsIndexServiceTests.cs (2)
45Assert.Contains(docs, d => d.Title == "Redis Integration"); 46Assert.Contains(docs, d => d.Title == "PostgreSQL Integration");
Mcp\TestDocsIndexService.cs (4)
57var content = $"# {doc.Title}\n\n{doc.Summary}\n\nThis is test content for the document."; 61Title = doc.Title, 76.Where(d => (d.Title?.Contains(query, StringComparison.OrdinalIgnoreCase) ?? false) || 79.Select(d => new DocsSearchResult { Slug = d.Slug, Title = d.Title, Summary = d.Summary, Score = 1.0f })