DoubleRouteConstraint 类

定义

将路由参数限制为仅表示 64 位浮点值。

public ref class DoubleRouteConstraint : Microsoft::AspNetCore::Routing::IRouteConstraint
public class DoubleRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstraint
public class DoubleRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy
type DoubleRouteConstraint = class
    interface IRouteConstraint
type DoubleRouteConstraint = class
    interface IRouteConstraint
    interface IParameterPolicy
type DoubleRouteConstraint = class
    interface IParameterPolicy
    interface IRouteConstraint
type DoubleRouteConstraint = class
    interface IRouteConstraint
    interface IParameterPolicy
    interface IParameterLiteralNodeMatchingPolicy
Public Class DoubleRouteConstraint
Implements IRouteConstraint
Public Class DoubleRouteConstraint
Implements IParameterLiteralNodeMatchingPolicy, IRouteConstraint
继承
DoubleRouteConstraint
实现

构造函数

DoubleRouteConstraint()

将路由参数限制为仅表示 64 位浮点值。

方法

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

确定 URL 参数是否包含此约束的有效值。

显式接口实现

IParameterLiteralNodeMatchingPolicy.MatchesLiteral(String, String)

将路由参数限制为仅表示 64 位浮点值。

适用于