1 instantiation of ApiDocsCache
Aspire.Cli.Tests (1)
Mcp\ApiDocs\ApiDocsCacheTests.cs (1)
107
=>
new
(memoryCache, CreateExecutionContext(workspace), configuration, NullLogger<ApiDocsCache>.Instance);
9 references to ApiDocsCache
aspire (3)
Documentation\ApiDocs\ApiDocsCache.cs (2)
14
/// Initializes a new instance of the <see cref="
ApiDocsCache
"/> class.
24
ILogger<
ApiDocsCache
> logger) : IApiDocsCache
Program.cs (1)
522
builder.Services.AddSingleton<IApiDocsCache,
ApiDocsCache
>();
Aspire.Cli.Tests (6)
Mcp\ApiDocs\ApiDocsCacheTests.cs (5)
25
var
cache = CreateCache(workspace, memoryCache, configuration);
51
var
cache = CreateCache(workspace, memoryCache, configuration);
77
var
cache = CreateCache(workspace, memoryCache, configuration);
106
private static
ApiDocsCache
CreateCache(TemporaryWorkspace workspace, IMemoryCache memoryCache, IConfiguration configuration)
107
=> new(memoryCache, CreateExecutionContext(workspace), configuration, NullLogger<
ApiDocsCache
>.Instance);
Utils\CliTestHelper.cs (1)
258
services.AddSingleton<IApiDocsCache,
ApiDocsCache
>();