KnownRouteValueConstraint 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.
A IRouteConstraint that represents a known route value.
public ref class KnownRouteValueConstraint : Microsoft::AspNetCore::Routing::IRouteConstraint
public class KnownRouteValueConstraint : Microsoft.AspNetCore.Routing.IRouteConstraint
type KnownRouteValueConstraint = class
interface IRouteConstraint
type KnownRouteValueConstraint = class
interface IRouteConstraint
interface IParameterPolicy
type KnownRouteValueConstraint = class
interface IParameterPolicy
interface IRouteConstraint
Public Class KnownRouteValueConstraint
Implements IRouteConstraint
- Inheritance
-
KnownRouteValueConstraint
- Implements
Constructors
KnownRouteValueConstraint() | |
KnownRouteValueConstraint(IActionDescriptorCollectionProvider) |
Initializes an instance of KnownRouteValueConstraint. |
Methods
Match(HttpContext, IRouter, String, RouteValueDictionary, RouteDirection) |
Determines whether the URL parameter contains a valid value for this constraint. |