Partager via


PageRouteTransformerConvention.ShouldApply(PageRouteModel) Méthode

Définition

Appelé pour déterminer si cette convention doit s’appliquer.

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

Paramètres

action
PageRouteModel

Action en question.

Retours

Si cette convention doit s’appliquer.

S’applique à