1 instantiation of DiskCache
Aspire.Cli.Tests (1)
Caching\DiskCacheTests.cs (1)
25return new DiskCache(logger, ctx, configuration);
10 references to DiskCache
aspire (3)
Caching\DiskCache.cs (2)
16private readonly ILogger<DiskCache> _logger; 21public DiskCache(ILogger<DiskCache> logger, CliExecutionContext executionContext, IConfiguration configuration)
Program.cs (1)
273builder.Services.AddSingleton<IDiskCache, DiskCache>();
Aspire.Cli.Tests (7)
Caching\DiskCacheTests.cs (7)
15private static DiskCache CreateCache(TemporaryWorkspace workspace, Action<Dictionary<string,string?>>? configure = null) 24var logger = loggerFactory.CreateLogger<DiskCache>(); 32var cache = CreateCache(workspace); 48var cache = CreateCache(workspace, cfg => 67var cache = CreateCache(workspace, cfg => 94var cache = CreateCache(workspace); 109var cache = CreateCache(workspace, cfg =>