Freigeben über


FloatRouteConstraint Klasse

Definition

Schränkt einen Routenparameter so ein, dass er nur 32-Bit-Gleitkommawerte darstellt.

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
    interface IParameterLiteralNodeMatchingPolicy
type FloatRouteConstraint = class
    interface IRouteConstraint
    interface IParameterPolicy
type FloatRouteConstraint = class
    interface IParameterPolicy
    interface IRouteConstraint
Public Class FloatRouteConstraint
Implements IRouteConstraint
Public Class FloatRouteConstraint
Implements IParameterLiteralNodeMatchingPolicy, IRouteConstraint
Vererbung
FloatRouteConstraint
Implementiert

Konstruktoren

FloatRouteConstraint()

Schränkt einen Routenparameter so ein, dass er nur 32-Bit-Gleitkommawerte darstellt.

Methoden

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

Bestimmt, ob der URL-Parameter einen gültigen Wert für diese Einschränkung enthält.

Explizite Schnittstellenimplementierungen

IParameterLiteralNodeMatchingPolicy.MatchesLiteral(String, String)

Schränkt einen Routenparameter so ein, dass er nur 32-Bit-Gleitkommawerte darstellt.

Gilt für: