1 write to _indexedDocuments
aspire (1)
Mcp\Docs\DocsIndexService.cs (1)
144
_indexedDocuments
= [.. documents.Select(static d => new IndexedDocument(d))];
9 references to _indexedDocuments
aspire (9)
Mcp\Docs\DocsIndexService.cs (9)
115
if (
_indexedDocuments
is not null)
124
if (
_indexedDocuments
is not null)
148
_logger.LogInformation("Indexed {Count} documents from aspire.dev in {ElapsedTime:ss\\.fff} seconds.",
_indexedDocuments
.Count, elapsedTime);
160
if (
_indexedDocuments
is null or { Count: 0 })
167
..
_indexedDocuments
.Select(static d => new DocsListItem
180
if (
_indexedDocuments
is null or { Count: 0 } || string.IsNullOrWhiteSpace(query))
193
foreach (var doc in
_indexedDocuments
)
222
if (
_indexedDocuments
is null or { Count: 0 })
227
var doc =
_indexedDocuments
.FirstOrDefault(d =>