共用方式為


InferParameterBindingInfoConvention.ShouldApply(ActionModel) 方法

定義

呼叫 以判斷動作是否應該套用。

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

參數

action
ActionModel

有問題的動作。

傳回

true 如果動作應該套用,則為 。

適用於