ApiVisibilityConvention.ShouldApply(ActionModel) Method    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines if this instance of IActionModelConvention applies to a specified action.
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 -> boolProtected Overridable Function ShouldApply (action As ActionModel) As BooleanParameters
- action
- ActionModel
The ActionModel.
Returns
true if the convention applies, otherwise false.
Derived types may override this method to selectively apply this convention.