2 instantiations of RazorPageActivator
Microsoft.AspNetCore.Mvc.Razor.Test (2)
RazorPageActivatorTest.cs (1)
234return new RazorPageActivator(MetadataProvider, UrlHelperFactory, JsonHelper, DiagnosticListener, HtmlEncoder, ModelExpressionProvider);
RazorPageCreateTagHelperTest.cs (1)
65var activator = new RazorPageActivator(
17 references to RazorPageActivator
Microsoft.AspNetCore.Mvc.Razor (5)
DependencyInjection\MvcRazorMvcCoreBuilderExtensions.cs (1)
139services.TryAddSingleton<IRazorPageActivator, RazorPageActivator>();
RazorHotReload.cs (3)
16private readonly RazorPageActivator? _razorPageActivator; 41if (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)
55var pageActivator = Assert.IsType<RazorPageActivator>(serviceProvider.GetRequiredService<IRazorPageActivator>()); 58cache[new RazorPageActivator.CacheKey()] = new RazorPagePropertyActivator(
RazorPageActivatorTest.cs (8)
49var activator = CreateActivator(); 86var activator = CreateActivator(); 110var activator = CreateActivator(); 158var activator = CreateActivator(); 173var activator = CreateActivator(); 197var activator = CreateActivator(); 212var activator = CreateActivator(); 232private RazorPageActivator CreateActivator()
RazorPageCreateTagHelperTest.cs (1)
65var activator = new RazorPageActivator(