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