IRazorPageFactoryProvider Interface¶
Defines methods that are used for creating Microsoft.AspNetCore.Mvc.Razor.IRazorPage instances at a given path.
- Namespace
Microsoft.AspNetCore.Mvc.Razor- Assemblies
- Microsoft.AspNetCore.Mvc.Razor
Syntax¶
public interface IRazorPageFactoryProvider
-
interface
Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider
Methods¶
-
CreateFactory(System.String)¶ Creates a
Microsoft.AspNetCore.Mvc.Razor.IRazorPagefactory for the specified path.Arguments: relativePath (System.String) – The path to locate the page. Return type: Microsoft.AspNetCore.Mvc.Razor.RazorPageFactoryResult Returns: The Microsoft.AspNetCore.Mvc.Razor.RazorPageFactoryResultinstance.RazorPageFactoryResult CreateFactory(string relativePath)
-