Interface IContentEndpointSelector
Signature for component that selects an endpoint for a routed content instance.
Namespace: EPiServer.Web.Routing.Matching.Internal
Assembly: EPiServer.Cms.AspNetCore.Routing.dll
Version: 12.0.3Syntax
public interface IContentEndpointSelector
Methods
SelectAsync(ContentRouteData, HttpContext)
Selects an endpoint for a content item for the current HttpContext
Declaration
Task<Endpoint> SelectAsync(ContentRouteData content, HttpContext context)
Parameters
Type | Name | Description |
---|---|---|
Content |
content | The routed content data |
Microsoft. |
context | Current http context |
Returns
Type | Description |
---|---|
System. |
A matched endpoint or null if no endpoint matched |