Share via


FloatRouteConstraint Class

Definition

Constrains a route parameter to represent only 32-bit floating-point values.

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
Inheritance
FloatRouteConstraint
Implements

Constructors

FloatRouteConstraint()

Methods

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

Determines whether the URL parameter contains a valid value for this constraint.

Explicit Interface Implementations

IParameterLiteralNodeMatchingPolicy.MatchesLiteral(String, String)

Applies to