Share via


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)

경로 매개 변수를 최소 길이의 문자열로 제한합니다.

적용 대상