Jaa


ODataPathRouteConstraint Class

Definition

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.

Applies to