共用方式為


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 位浮點值。

適用於