1 implementation of IRazorPageFactoryProvider
Microsoft.AspNetCore.Mvc.Razor (1)
Compilation\DefaultRazorPageFactoryProvider.cs (1)
12
internal sealed class DefaultRazorPageFactoryProvider :
IRazorPageFactoryProvider
54 references to IRazorPageFactoryProvider
Microsoft.AspNetCore.Mvc.Razor (5)
Compilation\DefaultRazorPageFactoryProvider.cs (1)
9
/// Represents a <see cref="
IRazorPageFactoryProvider
"/> that creates <see cref="RazorPage"/> instances
DependencyInjection\MvcRazorMvcCoreBuilderExtensions.cs (1)
136
services.TryAddTransient<
IRazorPageFactoryProvider
, DefaultRazorPageFactoryProvider>();
RazorPageFactoryResult.cs (1)
10
/// Result of <see cref="
IRazorPageFactoryProvider
.CreateFactory(string)"/>.
RazorViewEngine.cs (2)
39
private readonly
IRazorPageFactoryProvider
_pageFactory;
50
IRazorPageFactoryProvider
pageFactory,
Microsoft.AspNetCore.Mvc.Razor.Test (41)
RazorViewEngineTest.cs (40)
132
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
167
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
298
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
336
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
365
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
394
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
420
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
448
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
476
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
504
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
531
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
595
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
665
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
733
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
793
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
825
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
866
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
908
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
951
var
pageFactory = Mock.Of<
IRazorPageFactoryProvider
>();
1007
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
1150
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
1209
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
1288
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
1421
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
1449
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
1477
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
1734
Mock.Of<
IRazorPageFactoryProvider
>(),
1759
Mock.Of<
IRazorPageFactoryProvider
>(),
1784
Mock.Of<
IRazorPageFactoryProvider
>(),
1811
Mock.Of<
IRazorPageFactoryProvider
>(),
1906
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
1924
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
1946
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
1964
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
1982
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
2030
var pageFactory = new Mock<
IRazorPageFactoryProvider
>(MockBehavior.Strict);
2053
IRazorPageFactoryProvider
pageFactory = null,
2056
pageFactory = pageFactory ?? Mock.Of<
IRazorPageFactoryProvider
>();
2155
IRazorPageFactoryProvider
pageFactory,
RazorViewTest.cs (1)
253
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
Microsoft.AspNetCore.Mvc.RazorPages (2)
Infrastructure\PageActionInvokerCache.cs (2)
18
private readonly
IRazorPageFactoryProvider
_razorPageFactoryProvider;
26
IRazorPageFactoryProvider
razorPageFactoryProvider,
Microsoft.AspNetCore.Mvc.RazorPages.Test (6)
Infrastructure\PageActionInvokerProviderTest.cs (6)
161
var razorPageFactoryProvider = new Mock<
IRazorPageFactoryProvider
>();
385
var mock = new Mock<
IRazorPageFactoryProvider
>(MockBehavior.Strict);
403
var
razorPageFactoryProvider = mock.Object;
434
var pageFactory = new Mock<
IRazorPageFactoryProvider
>();
496
IRazorPageFactoryProvider
razorPageFactoryProvider = null,
518
razorPageFactoryProvider ?? Mock.Of<
IRazorPageFactoryProvider
>(),