Interface IContentRouteConstraint
Can be used as constraint in Content
Namespace: EPiServer.Web.Routing
Assembly: EPiServer.dll
Version: 7.19.2Syntax
public interface IContentRouteConstraint
Methods
Match(Route, SegmentContext, String)
Evaluates if the routed IContent matches the implemented constraint.
Declaration
bool Match(Route route, SegmentContext segmentContext, string parameterName)
Parameters
Type | Name | Description |
---|---|---|
System. |
route | The route. |
Segment |
segmentContext | The segment context. |
System. |
parameterName | Name of the parameter. |
Returns
Type | Description |
---|---|
System. |
true if the route matches the constraint else false. |