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)
336
var doc = await service.
GetDocumentAsync
("redis-integration");
356
var doc = await service.
GetDocumentAsync
("REDIS-INTEGRATION");
375
var doc = await service.
GetDocumentAsync
("nonexistent-doc");
399
var doc = await service.
GetDocumentAsync
("redis-integration", "Installation");
420
var doc = await service.
GetDocumentAsync
("redis-integration", "Getting Started");
446
var doc = await service.
GetDocumentAsync
("redis-integration");
474
var doc = await service.
GetDocumentAsync
("certificate-configuration");
499
var doc = await service.
GetDocumentAsync
("certificate-configuration");
635
var document = await service.
GetDocumentAsync
("deploy-to-azure");
708
var doc = await service.
GetDocumentAsync
(null!);
726
var doc = await service.
GetDocumentAsync
("");
744
var doc = await service.
GetDocumentAsync
(" ");
788
var doc = await service.
GetDocumentAsync
("any-slug");
817
await Assert.ThrowsAsync<TimeoutException>(() => service.
GetDocumentAsync
("redis-integration").AsTask());
899
var doc = await service.
GetDocumentAsync
("redis-integration", "NonExistentSection");