Share via


LongRouteConstraint Class

Definition

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

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

Constructors

LongRouteConstraint()

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