1 instantiation of RazorPagePropertyActivator
Microsoft.AspNetCore.Mvc.Razor (1)
RazorPageActivator.cs (1)
92propertyActivator = new RazorPagePropertyActivator(
14 references to RazorPagePropertyActivator
Microsoft.AspNetCore.Mvc.Razor (8)
RazorPageActivator.cs (8)
20private readonly ConcurrentDictionary<CacheKey, RazorPagePropertyActivator> _activationInfo; 24private readonly RazorPagePropertyActivator.PropertyValueAccessors _propertyAccessors; 37_activationInfo = new ConcurrentDictionary<CacheKey, RazorPagePropertyActivator>(); 40_propertyAccessors = new RazorPagePropertyActivator.PropertyValueAccessors 55internal ConcurrentDictionary<CacheKey, RazorPagePropertyActivator> ActivationInfo => _activationInfo; 63var propertyActivator = GetOrAddCacheEntry(page); 67internal RazorPagePropertyActivator GetOrAddCacheEntry(IRazorPage page) 79if (!_activationInfo.TryGetValue(cacheKey, out var propertyActivator))
Microsoft.AspNetCore.Mvc.Razor.Test (6)
RazorPageActivatorTest.cs (6)
201var result1 = activator.GetOrAddCacheEntry(page); 202var result2 = activator.GetOrAddCacheEntry(page); 216var result1 = activator.GetOrAddCacheEntry(page); 217var result2 = activator.GetOrAddCacheEntry(page); 224var result3 = activator.GetOrAddCacheEntry(page); 225var result4 = activator.GetOrAddCacheEntry(page);