Implemented interface member:
method
GetDocumentAsync
Aspire.Cli.Documentation.Docs.IDocsIndexService.GetDocumentAsync(System.String, System.String, System.Threading.CancellationToken)
15 references to GetDocumentAsync
Aspire.Cli.Tests (15)
Mcp\Docs\DocsIndexServiceTests.cs (15)
336var doc = await service.GetDocumentAsync("redis-integration"); 356var doc = await service.GetDocumentAsync("REDIS-INTEGRATION"); 375var doc = await service.GetDocumentAsync("nonexistent-doc"); 399var doc = await service.GetDocumentAsync("redis-integration", "Installation"); 420var doc = await service.GetDocumentAsync("redis-integration", "Getting Started"); 446var doc = await service.GetDocumentAsync("redis-integration"); 474var doc = await service.GetDocumentAsync("certificate-configuration"); 499var doc = await service.GetDocumentAsync("certificate-configuration"); 635var document = await service.GetDocumentAsync("deploy-to-azure"); 708var doc = await service.GetDocumentAsync(null!); 726var doc = await service.GetDocumentAsync(""); 744var doc = await service.GetDocumentAsync(" "); 788var doc = await service.GetDocumentAsync("any-slug"); 817await Assert.ThrowsAsync<TimeoutException>(() => service.GetDocumentAsync("redis-integration").AsTask()); 899var doc = await service.GetDocumentAsync("redis-integration", "NonExistentSection");