13 instantiations of 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));
12 references to RazorPageFactoryResult
Microsoft.AspNetCore.Mvc.Razor (6)
Compilation\DefaultRazorPageFactoryProvider.cs (1)
28
public
RazorPageFactoryResult
CreateFactory(string relativePath)
IRazorPageFactoryProvider.cs (2)
15
/// <returns>The <see cref="
RazorPageFactoryResult
"/> instance.</returns>
16
RazorPageFactoryResult
CreateFactory(string relativePath);
RazorPageFactoryResult.cs (1)
15
/// Initializes a new instance of <see cref="
RazorPageFactoryResult
"/> with the
RazorViewEngine.cs (2)
397
var
factoryResult = _pageFactory.CreateFactory(relativePath);
433
var
result = _pageFactory.CreateFactory(filePath);
Microsoft.AspNetCore.Mvc.Razor.Test (5)
Compilation\DefaultRazorPageFactoryProviderTest.cs (3)
35
var
result = factoryProvider.CreateFactory(path);
66
var
result = factoryProvider.CreateFactory(relativePath);
92
var
result = factoryProvider.CreateFactory(relativePath);
RazorViewEngineTest.cs (1)
2038
private static
RazorPageFactoryResult
GetPageFactoryResult(
RazorViewTest.cs (1)
252
var
pageFactoryResult = new RazorPageFactoryResult(new CompiledViewDescriptor(), () => layout);
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\PageActionInvokerCache.cs (1)
119
var
factoryResult = _razorPageFactoryProvider.CreateFactory(filePath);