2 instantiations of RazorPageActivator
Microsoft.AspNetCore.Mvc.Razor.Test (2)
RazorPageActivatorTest.cs (1)
234
return new
RazorPageActivator
(MetadataProvider, UrlHelperFactory, JsonHelper, DiagnosticListener, HtmlEncoder, ModelExpressionProvider);
RazorPageCreateTagHelperTest.cs (1)
65
var activator = new
RazorPageActivator
(
17 references to RazorPageActivator
Microsoft.AspNetCore.Mvc.Razor (5)
DependencyInjection\MvcRazorMvcCoreBuilderExtensions.cs (1)
139
services.TryAddSingleton<IRazorPageActivator,
RazorPageActivator
>();
RazorHotReload.cs (3)
16
private readonly
RazorPageActivator
? _razorPageActivator;
41
if (razorPageActivator.GetType() == typeof(
RazorPageActivator
))
43
_razorPageActivator = (
RazorPageActivator
)razorPageActivator;
RazorPageActivator.cs (1)
27
/// Initializes a new instance of the <see cref="
RazorPageActivator
"/> class.
Microsoft.AspNetCore.Mvc.Razor.Test (12)
RazorHotReloadTest.cs (3)
55
var
pageActivator = Assert.IsType<
RazorPageActivator
>(serviceProvider.GetRequiredService<IRazorPageActivator>());
58
cache[new
RazorPageActivator
.CacheKey()] = new RazorPagePropertyActivator(
RazorPageActivatorTest.cs (8)
49
var
activator = CreateActivator();
86
var
activator = CreateActivator();
110
var
activator = CreateActivator();
158
var
activator = CreateActivator();
173
var
activator = CreateActivator();
197
var
activator = CreateActivator();
212
var
activator = CreateActivator();
232
private
RazorPageActivator
CreateActivator()
RazorPageCreateTagHelperTest.cs (1)
65
var
activator = new RazorPageActivator(