1 implementation of IRazorPageActivator
Microsoft.AspNetCore.Mvc.Razor (1)
RazorPageActivator.cs (1)
16public class RazorPageActivator : IRazorPageActivator
53 references to IRazorPageActivator
Microsoft.AspNetCore.Mvc.Razor (7)
DependencyInjection\MvcRazorMvcCoreBuilderExtensions.cs (1)
139services.TryAddSingleton<IRazorPageActivator, RazorPageActivator>();
RazorHotReload.cs (1)
22IRazorPageActivator razorPageActivator,
RazorView.cs (3)
22private readonly IRazorPageActivator _pageActivator; 31/// <param name="pageActivator">The <see cref="IRazorPageActivator"/> used to activate pages.</param> 39IRazorPageActivator pageActivator,
RazorViewEngine.cs (2)
40private readonly IRazorPageActivator _pageActivator; 51IRazorPageActivator pageActivator,
Microsoft.AspNetCore.Mvc.Razor.Test (42)
RazorHotReloadTest.cs (1)
55var pageActivator = Assert.IsType<RazorPageActivator>(serviceProvider.GetRequiredService<IRazorPageActivator>());
RazorViewEngineTest.cs (1)
2157: base(pageFactory, Mock.Of<IRazorPageActivator>(), new HtmlTestEncoder(), optionsAccessor, NullLoggerFactory.Instance, new DiagnosticListener("Microsoft.AspNetCore.Mvc.Razor"))
RazorViewTest.cs (40)
40Mock.Of<IRazorPageActivator>(), 67var activator = new Mock<IRazorPageActivator>(); 105var activator = new Mock<IRazorPageActivator>(); 179var activator = Mock.Of<IRazorPageActivator>(); 210var activator = new Mock<IRazorPageActivator>(); 265Mock.Of<IRazorPageActivator>(), 290Mock.Of<IRazorPageActivator>(), 316Mock.Of<IRazorPageActivator>(), 339var activator = new Mock<IRazorPageActivator>(); 380var activator = new Mock<IRazorPageActivator>(); 445Mock.Of<IRazorPageActivator>(), 499Mock.Of<IRazorPageActivator>(), 530var activator = new Mock<IRazorPageActivator>(); 533Mock.Of<IRazorPageActivator>(), 573var activator = new Mock<IRazorPageActivator>(); 576Mock.Of<IRazorPageActivator>(), 618var activator = new Mock<IRazorPageActivator>(); 621Mock.Of<IRazorPageActivator>(), 682var activator = new Mock<IRazorPageActivator>(); 738Mock.Of<IRazorPageActivator>(), 805Mock.Of<IRazorPageActivator>(), 874Mock.Of<IRazorPageActivator>(), 937Mock.Of<IRazorPageActivator>(), 1006Mock.Of<IRazorPageActivator>(), 1041Mock.Of<IRazorPageActivator>(), 1109Mock.Of<IRazorPageActivator>(), 1183Mock.Of<IRazorPageActivator>(), 1224Mock.Of<IRazorPageActivator>(), 1278Mock.Of<IRazorPageActivator>(), 1348Mock.Of<IRazorPageActivator>(), 1406Mock.Of<IRazorPageActivator>(), 1461Mock.Of<IRazorPageActivator>(), 1492Mock.Of<IRazorPageActivator>(), 1539Mock.Of<IRazorPageActivator>(), 1584Mock.Of<IRazorPageActivator>(), 1642Mock.Of<IRazorPageActivator>(), 1687Mock.Of<IRazorPageActivator>(), 1729Mock.Of<IRazorPageActivator>(), 1754var pageActivator = new Mock<IRazorPageActivator>();
Microsoft.AspNetCore.Mvc.RazorPages (3)
Infrastructure\PageResultExecutor.cs (3)
20private readonly IRazorPageActivator _razorPageActivator; 30/// <param name="razorPageActivator">The <see cref="IRazorPageActivator"/>.</param> 37IRazorPageActivator razorPageActivator,
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Infrastructure\PageActionInvokerTest.cs (1)
1686Mock.Of<IRazorPageActivator>(),