Condividi tramite


IntRouteConstraint Classe

Definizione

Limita un parametro di route per rappresentare solo valori integer a 32 bit.

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
Ereditarietà
IntRouteConstraint
Implementazioni

Costruttori

IntRouteConstraint()

Limita un parametro di route per rappresentare solo valori integer a 32 bit.

Metodi

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

Determina se il parametro URL contiene un valore valido per questo vincolo.

Implementazioni dell'interfaccia esplicita

IParameterLiteralNodeMatchingPolicy.MatchesLiteral(String, String)

Limita un parametro di route per rappresentare solo valori integer a 32 bit.

Si applica a