Partager via


InferParameterBindingInfoConvention.ShouldApply(ActionModel) Méthode

Définition

Appelé pour déterminer si l’action doit s’appliquer.

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

Paramètres

action
ActionModel

Action en question.

Retours

true si l’action doit s’appliquer.

S’applique à