PageRouteTransformerConvention.ShouldApply(PageRouteModel) 方法

定义

调用 以确定此约定是否适用。

protected:
 virtual bool ShouldApply(Microsoft::AspNetCore::Mvc::ApplicationModels::PageRouteModel ^ action);
protected virtual bool ShouldApply (Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel action);
abstract member ShouldApply : Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel -> bool
override this.ShouldApply : Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel -> bool
Protected Overridable Function ShouldApply (action As PageRouteModel) As Boolean

参数

action
PageRouteModel

有问题的操作。

返回

是否应应用此约定。

适用于