13 references to RazorPageFactoryResult
Microsoft.AspNetCore.Mvc.Razor (2)
Compilation\DefaultRazorPageFactoryProvider.cs (2)
54
return new
RazorPageFactoryResult
(viewDescriptor, pageFactory);
58
return new
RazorPageFactoryResult
(viewDescriptor, razorPageFactory: null);
Microsoft.AspNetCore.Mvc.Razor.Test (2)
RazorViewEngineTest.cs (1)
2049
return new
RazorPageFactoryResult
(descriptor, factory);
RazorViewTest.cs (1)
252
var pageFactoryResult = new
RazorPageFactoryResult
(new CompiledViewDescriptor(), () => layout);
Microsoft.AspNetCore.Mvc.RazorPages.Test (9)
Infrastructure\PageActionInvokerProviderTest.cs (9)
168
.Returns(new
RazorPageFactoryResult
(new CompiledViewDescriptor(), factory1));
171
.Returns(new
RazorPageFactoryResult
(new CompiledViewDescriptor(), factory2));
388
.Returns(new
RazorPageFactoryResult
(new CompiledViewDescriptor(), () => null))
392
.Returns(new
RazorPageFactoryResult
(new CompiledViewDescriptor(), () => null))
396
.Returns(new
RazorPageFactoryResult
(new CompiledViewDescriptor(), () => null))
400
.Returns(new
RazorPageFactoryResult
(new CompiledViewDescriptor(), () => null))
437
.Returns(new
RazorPageFactoryResult
(new CompiledViewDescriptor(), () => null));
440
.Returns(new
RazorPageFactoryResult
(new CompiledViewDescriptor(), razorPageFactory: null));
443
.Returns(new
RazorPageFactoryResult
(new CompiledViewDescriptor(), () => null));