2 instantiations of CacheEntry
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\Validation\ValidatorCache.cs (2)
54
entry = new
CacheEntry
(validators);
58
entry = new
CacheEntry
(items);
3 references to CacheEntry
Microsoft.AspNetCore.Mvc.Core (3)
ModelBinding\Validation\ValidatorCache.cs (3)
16
private readonly ConcurrentDictionary<ModelMetadata,
CacheEntry
> _cacheEntries = new();
26
if (_cacheEntries.TryGetValue(metadata, out
var
entry))
66
private static IReadOnlyList<IModelValidator> GetValidatorsFromEntry(
CacheEntry
entry, ModelMetadata metadata, IModelValidatorProvider validationProvider)