ODataVersionConstraint.Match Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
Match(HttpContext, IRouter, String, RouteValueDictionary, RouteDirection) | |
Match(HttpRequestMessage, IHttpRoute, String, IDictionary<String,Object>, HttpRouteDirection) |
Match(HttpContext, IRouter, String, RouteValueDictionary, RouteDirection)
Determina si el parámetro de dirección URL contiene un valor válido para esta restricción.
public bool Match (Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Routing.IRouter route, string routeKey, Microsoft.AspNetCore.Routing.RouteValueDictionary values, Microsoft.AspNetCore.Routing.RouteDirection routeDirection);
abstract member Match : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Routing.IRouter * string * Microsoft.AspNetCore.Routing.RouteValueDictionary * Microsoft.AspNetCore.Routing.RouteDirection -> bool
override this.Match : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Routing.IRouter * string * Microsoft.AspNetCore.Routing.RouteValueDictionary * Microsoft.AspNetCore.Routing.RouteDirection -> bool
Public Function Match (httpContext As HttpContext, route As IRouter, routeKey As String, values As RouteValueDictionary, routeDirection As RouteDirection) As Boolean
Parámetros
- httpContext
- HttpContext
- route
- IRouter
- routeKey
- String
- values
- RouteValueDictionary
- routeDirection
- RouteDirection
Devoluciones
Implementaciones
Comentarios
Esta firma usa tipos específicos de AspNetCore.
Se aplica a
Match(HttpRequestMessage, IHttpRoute, String, IDictionary<String,Object>, HttpRouteDirection)
System.Web.Http.Routing.IHttpRouteConstraint.Match(System.Net.Http.HttpRequestMessage,System.Web.Http.Routing.IHttpRoute,System.String,System.Collections.Generic.IDictionary{System.String,System.Object},System.Web.Http.Routing.HttpRouteDirection)
public bool Match (System.Net.Http.HttpRequestMessage request, System.Web.Http.Routing.IHttpRoute route, string parameterName, System.Collections.Generic.IDictionary<string,object> values, System.Web.Http.Routing.HttpRouteDirection routeDirection);
abstract member Match : System.Net.Http.HttpRequestMessage * System.Web.Http.Routing.IHttpRoute * string * System.Collections.Generic.IDictionary<string, obj> * System.Web.Http.Routing.HttpRouteDirection -> bool
override this.Match : System.Net.Http.HttpRequestMessage * System.Web.Http.Routing.IHttpRoute * string * System.Collections.Generic.IDictionary<string, obj> * System.Web.Http.Routing.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
Parámetros
- request
- HttpRequestMessage
- route
- System.Web.Http.Routing.IHttpRoute
- parameterName
- String
- values
- IDictionary<String,Object>
- routeDirection
- System.Web.Http.Routing.HttpRouteDirection
Devoluciones
Implementaciones
System.Web.Http.Routing.IHttpRouteConstraint.Match(System.Net.Http.HttpRequestMessage,System.Web.Http.Routing.IHttpRoute,System.String,System.Collections.Generic.IDictionary{System.String,System.Object},System.Web.Http.Routing.HttpRouteDirection)
Comentarios
Esta firma usa tipos específicos de AspNet.