다음을 통해 공유


RouteFactoryAttribute 클래스

정의

사용자 지정 제약 조건을 포함할 수 있는 특성 경로를 나타냅니다.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=false)]
public abstract class RouteFactoryAttribute : Attribute, System.Web.Mvc.Routing.IDirectRouteFactory
type RouteFactoryAttribute = class
    inherit Attribute
    interface IDirectRouteFactory
Public MustInherit Class RouteFactoryAttribute
Inherits Attribute
Implements IDirectRouteFactory
상속
RouteFactoryAttribute
특성
구현

생성자

RouteFactoryAttribute(String)

RouteFactoryAttribute 클래스의 새 인스턴스를 초기화합니다.

속성

Constraints

경로 제약 조건을 가져옵니다.

DataTokens

경로 데이터 토큰을 가져옵니다.

Defaults

경로 기본값을 가져옵니다.

Name

경로 이름을 가져오거나 설정합니다.

Order

경로 순서를 가져오거나 설정합니다.

Template

경로 템플릿을 가져옵니다.

메서드

CreateRoute(DirectRouteFactoryContext)

직접 경로 항목을 만듭니다.

적용 대상