8 references to _cachedResourcesById
Aspire.Dashboard (8)
Otlp\Storage\SqliteTelemetryRepository.Caching.cs (8)
554
if (
_cachedResourcesById
.TryGetValue(group.Key.ResourceId, out var resource))
566
if (
_cachedResourcesById
.TryGetValue(record.ResourceId, out var resource))
581
if (
_cachedResourcesById
.TryGetValue(record.ResourceId, out var resource) &&
589
foreach (var resource in
_cachedResourcesById
.Values)
623
_cachedResourcesById
.Add(resourceId, cachedResource);
724
var resource =
_cachedResourcesById
[resourceId];
737
return
_cachedResourcesById
.TryGetValue(resourceId, out var resource) ? resource.Resource : null;
753
_cachedResourcesById
.Clear();