KnownRouteValueConstraint Class

Syntax

public class KnownRouteValueConstraint : IRouteConstraint

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.KnownRouteValueConstraint

Methods

Match(HttpContext, IRouter, System.String, System.Collections.Generic.IDictionary<System.String, System.Object>, RouteDirection)
Arguments:
  • httpContext (HttpContext) –
  • route (IRouter) –
  • routeKey (System.String) –
  • values (System.Collections.Generic.IDictionary{System.String,System.Object}) –
  • routeDirection (RouteDirection) –
Return type:

System.Boolean

public bool Match(HttpContext httpContext, IRouter route, string routeKey, IDictionary<string, object> values, RouteDirection routeDirection)