5 instantiations of DataSourceDependentCache
Microsoft.AspNetCore.Routing (5)
DefaultLinkGenerator.cs (1)
51_cache = new DataSourceDependentCache<ConcurrentDictionary<RouteEndpoint, TemplateBinder>>(dataSource, (_) =>
DefaultLinkParser.cs (1)
37_matcherCache = new DataSourceDependentCache<ConcurrentDictionary<RouteEndpoint, MatcherState>>(dataSource, (_) =>
EndpointNameAddressScheme.cs (1)
16_cache = new DataSourceDependentCache<FrozenDictionary<string, Endpoint[]>>(dataSource, Initialize);
Matching\DataSourceDependentMatcher.cs (1)
22_cache = new DataSourceDependentCache<Matcher>(dataSource, CreateMatcher);
RouteValuesAddressScheme.cs (1)
17_cache = new DataSourceDependentCache<StateEntry>(dataSource, Initialize);
7 references to DataSourceDependentCache
Microsoft.AspNetCore.Routing (7)
DefaultLinkGenerator.cs (1)
33private readonly DataSourceDependentCache<ConcurrentDictionary<RouteEndpoint, TemplateBinder>> _cache;
DefaultLinkParser.cs (1)
20private readonly DataSourceDependentCache<ConcurrentDictionary<RouteEndpoint, MatcherState>> _matcherCache;
EndpointNameAddressScheme.cs (1)
12private readonly DataSourceDependentCache<FrozenDictionary<string, Endpoint[]>> _cache;
Matching\DataSourceDependentMatcher.cs (3)
13private readonly DataSourceDependentCache<Matcher> _cache; 78private DataSourceDependentCache<Matcher>? _cache; 81public DataSourceDependentCache<Matcher>? Cache
RouteValuesAddressScheme.cs (1)
13private readonly DataSourceDependentCache<StateEntry> _cache;