ODataPathRouteConstraint Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An implementation of System.Web.Http.Routing.IHttpRouteConstraint that only matches OData paths.
public class ODataPathRouteConstraint : System.Web.Http.Routing.IHttpRouteConstraint
public class ODataPathRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstraint
type ODataPathRouteConstraint = class
interface IHttpRouteConstraint
type ODataPathRouteConstraint = class
interface IRouteConstraint
Public Class ODataPathRouteConstraint
Implements IHttpRouteConstraint
Public Class ODataPathRouteConstraint
Implements IRouteConstraint
- Inheritance
-
ODataPathRouteConstraint
- Implements
-
System.Web.Http.Routing.IHttpRouteConstraint IRouteConstraint
Constructors
ODataPathRouteConstraint(String) |
Initializes a new instance of the ODataPathRouteConstraint class. |
Properties
RouteName |
Gets the name of the route this constraint is associated with. |
Methods
Match(HttpContext, IRouter, String, RouteValueDictionary, RouteDirection) |
Determines whether the URL parameter contains a valid value for this constraint. |
Match(HttpRequestMessage, IHttpRoute, String, IDictionary<String,Object>, HttpRouteDirection) |
Determines whether this instance equals a specified route. |
SelectControllerName(ODataPath, HttpRequestMessage) |
Selects the name of the controller to dispatch the request to. |