Share via


IntRouteConstraint Class

Definition

Constrains a route parameter to represent only 32-bit integer values.

public ref class IntRouteConstraint : Microsoft::AspNetCore::Routing::IRouteConstraint
public class IntRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstraint
public class IntRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy
type IntRouteConstraint = class
    interface IRouteConstraint
type IntRouteConstraint = class
    interface IRouteConstraint
    interface IParameterPolicy
type IntRouteConstraint = class
    interface IParameterPolicy
    interface IRouteConstraint
type IntRouteConstraint = class
    interface IRouteConstraint
    interface IParameterPolicy
    interface IParameterLiteralNodeMatchingPolicy
Public Class IntRouteConstraint
Implements IRouteConstraint
Public Class IntRouteConstraint
Implements IParameterLiteralNodeMatchingPolicy, IRouteConstraint
Inheritance
IntRouteConstraint
Implements

Constructors

IntRouteConstraint()

Methods

Match(HttpContext, IRouter, String, RouteValueDictionary, RouteDirection)

Determines whether the URL parameter contains a valid value for this constraint.

Explicit Interface Implementations

IParameterLiteralNodeMatchingPolicy.MatchesLiteral(String, String)

Applies to