Sdílet prostřednictvím


RouteTokenTransformerConvention.ShouldApply(ActionModel) Metoda

Definice

Volá se k určení, zda má být akce uplatněna.

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

Parametry

action
ActionModel

Hodnota ActionModel

Návraty

true pokud se má akce použít.

Platí pro