1 instantiation of ModelMetadataCacheEntry
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\DefaultModelMetadataProvider.cs (1)
212
return new
ModelMetadataCacheEntry
(metadata, details);
16 references to ModelMetadataCacheEntry
Microsoft.AspNetCore.Mvc.Core (16)
ModelBinding\Metadata\DefaultModelMetadataProvider.cs (16)
20
private readonly ConcurrentDictionary<ModelMetadataIdentity,
ModelMetadataCacheEntry
> _modelMetadataCache = new();
21
private readonly Func<ModelMetadataIdentity,
ModelMetadataCacheEntry
> _cacheEntryFactory;
22
private readonly
ModelMetadataCacheEntry
_metadataCacheEntryForObjectType;
76
var
cacheEntry = GetCacheEntry(modelType);
108
var
cacheEntry = GetCacheEntry(parameter, modelType);
118
var
cacheEntry = GetCacheEntry(modelType);
129
var
cacheEntry = GetCacheEntry(propertyInfo, modelType);
139
var
cacheEntry = GetCacheEntry(constructorInfo, modelType);
150
private
ModelMetadataCacheEntry
GetCacheEntry(Type modelType)
152
ModelMetadataCacheEntry
cacheEntry;
169
private
ModelMetadataCacheEntry
GetCacheEntry(ParameterInfo parameter, Type modelType)
176
private
ModelMetadataCacheEntry
GetCacheEntry(PropertyInfo property, Type modelType)
183
private
ModelMetadataCacheEntry
GetCacheEntry(ConstructorInfo constructor, Type modelType)
190
private
ModelMetadataCacheEntry
CreateCacheEntry(ModelMetadataIdentity key)
298
private
ModelMetadataCacheEntry
GetMetadataCacheEntryForObjectType()
301
var
entry = CreateCacheEntry(key);