MinLengthRouteConstraint クラス

定義

ルート パラメーターを、最小長の文字列に制限します。

public ref class MinLengthRouteConstraint : Microsoft::AspNetCore::Routing::IRouteConstraint
public class MinLengthRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstraint
public class MinLengthRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy
type MinLengthRouteConstraint = class
    interface IRouteConstraint
type MinLengthRouteConstraint = class
    interface IRouteConstraint
    interface IParameterPolicy
type MinLengthRouteConstraint = class
    interface IParameterPolicy
    interface IRouteConstraint
type MinLengthRouteConstraint = class
    interface IRouteConstraint
    interface IParameterPolicy
    interface IParameterLiteralNodeMatchingPolicy
Public Class MinLengthRouteConstraint
Implements IRouteConstraint
Public Class MinLengthRouteConstraint
Implements IParameterLiteralNodeMatchingPolicy, IRouteConstraint
継承
MinLengthRouteConstraint
実装

コンストラクター

MinLengthRouteConstraint(Int32)

MinLengthRouteConstraint クラスの新しいインスタンスを初期化します。

プロパティ

MinLength

ルート パラメーターに使用できる最小長を取得します。

メソッド

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

URL パラメーターにこの制約の正しい値が含まれているかどうかを判断します。

明示的なインターフェイスの実装

IParameterLiteralNodeMatchingPolicy.MatchesLiteral(String, String)

ルート パラメーターを、最小長の文字列に制限します。

適用対象