Condividi tramite


DecimalRouteConstraint Classe

Definizione

Vincola un parametro di route affinché rappresenti solo valori decimali.

public ref class DecimalRouteConstraint : Microsoft::AspNetCore::Routing::IRouteConstraint
public class DecimalRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstraint
public class DecimalRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy
type DecimalRouteConstraint = class
    interface IRouteConstraint
type DecimalRouteConstraint = class
    interface IRouteConstraint
    interface IParameterPolicy
type DecimalRouteConstraint = class
    interface IParameterPolicy
    interface IRouteConstraint
type DecimalRouteConstraint = class
    interface IRouteConstraint
    interface IParameterPolicy
    interface IParameterLiteralNodeMatchingPolicy
Public Class DecimalRouteConstraint
Implements IRouteConstraint
Public Class DecimalRouteConstraint
Implements IParameterLiteralNodeMatchingPolicy, IRouteConstraint
Ereditarietà
DecimalRouteConstraint
Implementazioni

Costruttori

DecimalRouteConstraint()

Vincola un parametro di route affinché rappresenti solo valori decimali.

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)

Vincola un parametro di route affinché rappresenti solo valori decimali.

Si applica a