Implemented interface member:
method
SetAsync
Aspire.Cli.Caching.IAppHostInfoDiskCache.SetAsync(System.IO.FileInfo, System.String, Aspire.Cli.Caching.AppHostInfoCacheEntry, System.Threading.CancellationToken)
23 references to SetAsync
Aspire.Cli.Tests (23)
Caching\AppHostInfoDiskCacheTests.cs (23)
72
await cache.
SetAsync
(projectFile, cache.GetCacheKey(projectFile), SampleEntry(), CancellationToken.None).DefaultTimeout();
95
await cache.
SetAsync
(projectFile, cache.GetCacheKey(projectFile), SampleEntry() with { RunCommand = null }, CancellationToken.None).DefaultTimeout();
109
await cache.
SetAsync
(
148
await cache.
SetAsync
(projectFile, cache.GetCacheKey(projectFile), SampleEntry(), CancellationToken.None).DefaultTimeout();
167
await cache.
SetAsync
(projectFile, cache.GetCacheKey(projectFile), SampleEntry(), CancellationToken.None).DefaultTimeout();
185
await cache.
SetAsync
(projectFile, cache.GetCacheKey(projectFile), SampleEntry(), CancellationToken.None).DefaultTimeout();
207
await cache.
SetAsync
(projectFile, cache.GetCacheKey(projectFile), SampleEntry(), CancellationToken.None).DefaultTimeout();
226
await cache.
SetAsync
(projectFile, cache.GetCacheKey(projectFile), SampleEntry(), CancellationToken.None).DefaultTimeout();
246
return cache.
SetAsync
(projectFile, cache.GetCacheKey(projectFile), entry, CancellationToken.None);
270
await cache.
SetAsync
(new FileInfo(projectFile.FullName), expectedKey, SampleEntry(), CancellationToken.None).DefaultTimeout();
299
await cache.
SetAsync
(projectFile, cache.GetCacheKey(projectFile), SampleEntry() with { IsAspireHost = false }, CancellationToken.None).DefaultTimeout();
331
await cache.
SetAsync
(new FileInfo(projectFile.FullName), cache.GetCacheKey(projectFile), SampleEntry(), CancellationToken.None).DefaultTimeout();
368
await cache.
SetAsync
(projectFile, cache.GetCacheKey(projectFile), SampleEntry() with { IsAspireHost = false }, CancellationToken.None).DefaultTimeout();
402
await cache.
SetAsync
(projectFile, cache.GetCacheKey(projectFile), SampleEntry() with { IsAspireHost = false }, CancellationToken.None).DefaultTimeout();
431
await cache.
SetAsync
(projectFile, cache.GetCacheKey(projectFile), SampleEntry(), CancellationToken.None).DefaultTimeout();
459
await cache.
SetAsync
(projectFile, cache.GetCacheKey(projectFile), SampleEntry(), CancellationToken.None).DefaultTimeout();
488
await cache.
SetAsync
(projectFile, cache.GetCacheKey(projectFile), SampleEntry() with { IsAspireHost = false }, CancellationToken.None).DefaultTimeout();
519
await cache.
SetAsync
(new FileInfo(projectFile.FullName), cache.GetCacheKey(projectFile), SampleEntry(), CancellationToken.None).DefaultTimeout();
538
await cache.
SetAsync
(projectFile, cache.GetCacheKey(projectFile), SampleEntry(), CancellationToken.None).DefaultTimeout();
575
await cache.
SetAsync
(projectFile, cache.GetCacheKey(projectFile), SampleEntry(), CancellationToken.None).DefaultTimeout();
604
await cache.
SetAsync
(projectFile, cache.GetCacheKey(projectFile), SampleEntry() with { IsAspireHost = false }, CancellationToken.None).DefaultTimeout();
636
await cache.
SetAsync
(new FileInfo(projectFile.FullName), cache.GetCacheKey(projectFile), SampleEntry(), CancellationToken.None).DefaultTimeout();
660
await cache.
SetAsync
(new FileInfo(projectFile.FullName), cache.GetCacheKey(projectFile), SampleEntry(), CancellationToken.None).DefaultTimeout();