Sdílet prostřednictvím


PageRouteTransformerConvention.ShouldApply(PageRouteModel) Metoda

Definice

Volá se k určení, jestli se má tato konvence použít.

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

Parametry

action
PageRouteModel

Daná akce.

Návraty

Zda má být tato úmluva uplatněna.

Platí pro