Partilhar via


LongRouteConstraint Classe

Definição

Restringe um parâmetro de rota para representar apenas valores inteiros de 64 bits.

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
Herança
LongRouteConstraint
Implementações

Construtores

LongRouteConstraint()

Restringe um parâmetro de rota para representar apenas valores inteiros de 64 bits.

Métodos

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

Determina se o parâmetro da URL contém um valor válido para esta restrição.

Implantações explícitas de interface

IParameterLiteralNodeMatchingPolicy.MatchesLiteral(String, String)

Restringe um parâmetro de rota para representar apenas valores inteiros de 64 bits.

Aplica-se a