Share via


KnownRouteValueConstraint Class

Definition

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.

Applies to