Compartilhar via


FloatRouteConstraint Classe

Definição

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

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

Construtores

FloatRouteConstraint()

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

Aplica-se a