1 instantiation of Entry
Aspire.Hosting.Analyzers (1)
Infrastructure\BoundedCacheWithFactory.cs (1)
61
var newEntry = new
Entry
(key, valueFactory(key));
8 references to Entry
Aspire.Hosting.Analyzers (8)
Infrastructure\BoundedCacheWithFactory.cs (8)
18
private readonly List<WeakReference<
Entry
?>> _weakReferencedEntries = new()
20
new WeakReference<
Entry
?>(null),
21
new WeakReference<
Entry
?>(null),
22
new WeakReference<
Entry
?>(null),
23
new WeakReference<
Entry
?>(null),
24
new WeakReference<
Entry
?>(null),
35
if (!weakReferencedEntry.TryGetTarget(out
var
cachedEntry) ||
61
var
newEntry = new Entry(key, valueFactory(key));