ODataVersionConstraint.Match Method (HttpRequestMessage, IHttpRoute, String, IDictionary<String, Object>, HttpRouteDirection)
Namespace: System.Web.OData.Routing
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
public bool Match(
HttpRequestMessage request,
IHttpRoute route,
string parameterName,
IDictionary<string, object> values,
HttpRouteDirection routeDirection
)
public:
virtual bool Match(
HttpRequestMessage^ request,
IHttpRoute^ route,
String^ parameterName,
IDictionary<String^, Object^>^ values,
HttpRouteDirection routeDirection
) sealed
abstract Match :
request:HttpRequestMessage *
route:IHttpRoute *
parameterName:string *
values:IDictionary<string, Object> *
routeDirection:HttpRouteDirection -> bool
override Match :
request:HttpRequestMessage *
route:IHttpRoute *
parameterName:string *
values:IDictionary<string, Object> *
routeDirection:HttpRouteDirection -> bool
Public Function Match (
request As HttpRequestMessage,
route As IHttpRoute,
parameterName As String,
values As IDictionary(Of String, Object),
routeDirection As HttpRouteDirection
) As Boolean
Parameters
- request
Type: System.Net.Http.HttpRequestMessage
- route
Type: System.Web.Http.Routing.IHttpRoute
- parameterName
Type: System.String
- values
Type: System.Collections.Generic.IDictionary<String, Object>
- routeDirection
Type: System.Web.Http.Routing.HttpRouteDirection
Return Value
Type: System.Boolean
Implements
See Also
ODataVersionConstraint Class
System.Web.OData.Routing Namespace
Return to top