2 instantiations of CacheEntry
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\Validation\ClientValidatorCache.cs (2)
64
entry = new
CacheEntry
(validators);
68
entry = new
CacheEntry
(items);
4 references to CacheEntry
Microsoft.AspNetCore.Mvc.Core (4)
ModelBinding\Validation\ClientValidatorCache.cs (4)
17
private readonly ConcurrentDictionary<ModelMetadata,
CacheEntry
> _cacheEntries = new ConcurrentDictionary<ModelMetadata,
CacheEntry
>();
36
if (_cacheEntries.TryGetValue(metadata, out
var
entry))
76
private static IReadOnlyList<IClientModelValidator> GetValidatorsFromEntry(
CacheEntry
entry, ModelMetadata metadata, IClientModelValidatorProvider validationProvider)