RouteTokenTransformerConvention 클래스

정의

IActionModelConvention 에 지정된 IOutboundParameterTransformer 를 사용하도록 특성 라우팅 토큰 대체를 설정하는 입니다ActionModel. 이 규칙은 Razor 페이지 경로에 영향을 주지 않습니다.

public ref class RouteTokenTransformerConvention : Microsoft::AspNetCore::Mvc::ApplicationModels::IActionModelConvention
public class RouteTokenTransformerConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IActionModelConvention
type RouteTokenTransformerConvention = class
    interface IActionModelConvention
Public Class RouteTokenTransformerConvention
Implements IActionModelConvention
상속
RouteTokenTransformerConvention
구현

생성자

RouteTokenTransformerConvention(IOutboundParameterTransformer)

지정된 IOutboundParameterTransformer를 사용하여 의 RouteTokenTransformerConvention 새 instance 만듭니다.

메서드

Apply(ActionModel)

에 규칙을 적용하기 위해 호출됩니다 ActionModel.

ShouldApply(ActionModel)

작업이 적용되어야 하는지 여부를 결정하기 위해 호출되었습니다.

적용 대상