Compartilhar via


IntRouteConstraint Classe

Definição

Restringe um parâmetro de rota para representar apenas valores de inteiro de 32 bits.

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

Construtores

IntRouteConstraint()

Restringe um parâmetro de rota para representar apenas valores de inteiro de 32 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 de inteiro de 32 bits.

Aplica-se a