7 writes to Title
aspire (1)
Mcp\Docs\DocsIndexService.cs (1)
203
Title
= d.Source.Title,
Aspire.Cli.Tests (6)
Commands\DocsCommandTests.cs (3)
184
new() {
Title
= "Redis Integration", Slug = "redis-integration", Summary = "Learn how to use Redis" },
185
new() {
Title
= "PostgreSQL Integration", Slug = "postgresql-integration", Summary = "Learn how to use PostgreSQL" },
186
new() {
Title
= "Getting Started", Slug = "getting-started", Summary = "Get started with Aspire" }
Mcp\TestDocsIndexService.cs (3)
15
new DocsListItem { Slug = "getting-started",
Title
= "Getting Started", Summary = "Learn how to get started with Aspire" },
16
new DocsListItem { Slug = "fundamentals/app-host",
Title
= "App Host", Summary = "Learn about the Aspire app host" },
17
new 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)
85
Markup.Escape(doc.
Title
),
Mcp\Tools\ListDocsTool.cs (1)
63
sb.AppendLine(CultureInfo.InvariantCulture, $"## {doc.
Title
}");
Aspire.Cli.Tests (6)
Mcp\Docs\DocsIndexServiceTests.cs (2)
45
Assert.Contains(docs, d => d.
Title
== "Redis Integration");
46
Assert.Contains(docs, d => d.
Title
== "PostgreSQL Integration");
Mcp\TestDocsIndexService.cs (4)
57
var content = $"# {doc.
Title
}\n\n{doc.Summary}\n\nThis is test content for the document.";
61
Title = 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 })