DoubleRouteConstraint Class¶
Constrains a route parameter to represent only 64-bit floating-point values.
- Namespace
Microsoft.AspNetCore.Routing.Constraints
- Assemblies
- Microsoft.AspNetCore.Routing
Syntax¶
public class DoubleRouteConstraint : IRouteConstraint
-
class
Microsoft.AspNetCore.Routing.Constraints.
DoubleRouteConstraint
Methods¶
-
Match
(Microsoft.AspNetCore.Http.HttpContext, Microsoft.AspNetCore.Routing.IRouter, System.String, Microsoft.AspNetCore.Routing.RouteValueDictionary, Microsoft.AspNetCore.Routing.RouteDirection)¶ Return type: System.Boolean public bool Match(HttpContext httpContext, IRouter route, string routeKey, RouteValueDictionary values, RouteDirection routeDirection)
-