Condividi tramite


FloatRouteConstraint Classe

Definizione

Vincola un parametro di route affinché rappresenti solo i valori a virgola mobile a 32 bit.

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

Costruttori

FloatRouteConstraint()

Vincola un parametro di route affinché rappresenti solo i valori a virgola mobile 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)

Vincola un parametro di route affinché rappresenti solo i valori a virgola mobile a 32 bit.

Si applica a