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