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