다음을 통해 공유


DefaultDirectRouteProvider.GetDirectRoutes 메서드

정의

특성에 IDirectRouteFactory 따라 지정된 컨트롤러 설명자 및 작업 설명자에 대한 직접 경로를 가져옵니다.

public virtual System.Collections.Generic.IReadOnlyList<System.Web.Mvc.Routing.RouteEntry> GetDirectRoutes (System.Web.Mvc.ControllerDescriptor controllerDescriptor, System.Collections.Generic.IReadOnlyList<System.Web.Mvc.ActionDescriptor> actionDescriptors, System.Web.Mvc.Routing.IInlineConstraintResolver constraintResolver);
abstract member GetDirectRoutes : System.Web.Mvc.ControllerDescriptor * System.Collections.Generic.IReadOnlyList<System.Web.Mvc.ActionDescriptor> * System.Web.Mvc.Routing.IInlineConstraintResolver -> System.Collections.Generic.IReadOnlyList<System.Web.Mvc.Routing.RouteEntry>
override this.GetDirectRoutes : System.Web.Mvc.ControllerDescriptor * System.Collections.Generic.IReadOnlyList<System.Web.Mvc.ActionDescriptor> * System.Web.Mvc.Routing.IInlineConstraintResolver -> System.Collections.Generic.IReadOnlyList<System.Web.Mvc.Routing.RouteEntry>
Public Overridable Function GetDirectRoutes (controllerDescriptor As ControllerDescriptor, actionDescriptors As IReadOnlyList(Of ActionDescriptor), constraintResolver As IInlineConstraintResolver) As IReadOnlyList(Of RouteEntry)

매개 변수

controllerDescriptor
ControllerDescriptor

컨트롤러 설명자입니다.

actionDescriptors
IReadOnlyList<ActionDescriptor>

모든 작업에 대한 작업 설명자입니다.

constraintResolver
IInlineConstraintResolver

제약 조건 확인자입니다.

반환

경로 항목 집합입니다.

구현

적용 대상