共用方式為


LongRouteConstraint 類別

定義

限制路由參數僅表示 64 位元的整數值。

public ref class LongRouteConstraint : Microsoft::AspNetCore::Routing::IRouteConstraint
public class LongRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstraint
public class LongRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy
type LongRouteConstraint = class
    interface IRouteConstraint
type LongRouteConstraint = class
    interface IRouteConstraint
    interface IParameterPolicy
type LongRouteConstraint = class
    interface IParameterPolicy
    interface IRouteConstraint
type LongRouteConstraint = class
    interface IRouteConstraint
    interface IParameterPolicy
    interface IParameterLiteralNodeMatchingPolicy
Public Class LongRouteConstraint
Implements IRouteConstraint
Public Class LongRouteConstraint
Implements IParameterLiteralNodeMatchingPolicy, IRouteConstraint
繼承
LongRouteConstraint
實作

建構函式

LongRouteConstraint()

限制路由參數僅表示 64 位元的整數值。

方法

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

判斷 URL 參數是否包含對這個條件約束有效的值。

明確介面實作

IParameterLiteralNodeMatchingPolicy.MatchesLiteral(String, String)

限制路由參數僅表示 64 位元的整數值。

適用於