1 write to _cache
Microsoft.AspNetCore.Http.Abstractions (1)
Routing\EndpointMetadataCollection.cs (1)
41
_cache
= new ConcurrentDictionary<Type, object[]>();
3 references to _cache
Microsoft.AspNetCore.Http.Abstractions (3)
Routing\EndpointMetadataCollection.cs (3)
75
if (
_cache
.TryGetValue(typeof(T), out var obj))
101
if (
_cache
.TryGetValue(typeof(T), out var result))
125
_cache
.TryAdd(typeof(T), results);