8 references to _cachedResourcesById
Aspire.Dashboard (8)
Otlp\Storage\SqliteTelemetryRepository.Caching.cs (8)
556
if (
_cachedResourcesById
.TryGetValue(group.Key.ResourceId, out var resource))
568
if (
_cachedResourcesById
.TryGetValue(record.ResourceId, out var resource))
583
if (
_cachedResourcesById
.TryGetValue(record.ResourceId, out var resource) &&
591
foreach (var resource in
_cachedResourcesById
.Values)
625
_cachedResourcesById
.Add(resourceId, cachedResource);
727
var resource =
_cachedResourcesById
[resourceId];
740
return
_cachedResourcesById
.TryGetValue(resourceId, out var resource) ? resource.Resource : null;
756
_cachedResourcesById
.Clear();