Class ContentRouter
An Microsoft.
Inheritance
System.Object
ContentRouter
Implements
Microsoft.AspNetCore.Routing.IRouter
Namespace: EPiServer.Web.Routing
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3Syntax
public class ContentRouter : Object, IRouter
Fields
Instance
A singleton instance of Content
Declaration
public static ContentRouter Instance
Field Value
Type | Description |
---|---|
Content |
Methods
GetVirtualPath(VirtualPathContext)
Not supported for Content
Declaration
public VirtualPathData GetVirtualPath(VirtualPathContext context)
Parameters
Type | Name | Description |
---|---|---|
Microsoft. |
context |
Returns
Type | Description |
---|---|
Microsoft. |
Exceptions
Type | Condition |
---|---|
System. |
Will always throw this since method is not suppported |
RouteAsync(RouteContext)
Not supported for Content
Declaration
public Task RouteAsync(RouteContext context)
Parameters
Type | Name | Description |
---|---|---|
Microsoft. |
context |
Returns
Type | Description |
---|---|
System. |
Exceptions
Type | Condition |
---|---|
System. |
Will always throw this since method is not suppported |
Implements
Microsoft.AspNetCore.Routing.IRouter