1 instantiation of DiskCache
Aspire.Cli.Tests (1)
Caching\DiskCacheTests.cs (1)
24return 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)
124builder.Services.AddSingleton<IDiskCache, DiskCache>();
Aspire.Cli.Tests (7)
Caching\DiskCacheTests.cs (7)
14private static DiskCache CreateCache(TemporaryWorkspace workspace, Action<Dictionary<string,string?>>? configure = null) 23var logger = loggerFactory.CreateLogger<DiskCache>(); 31var cache = CreateCache(workspace); 47var cache = CreateCache(workspace, cfg => 66var cache = CreateCache(workspace, cfg => 93var cache = CreateCache(workspace); 108var cache = CreateCache(workspace, cfg =>